public bool Remove(QueryEvent <Boolean> test) { for (int i = length - 1; i > -1; i--) { Boolean t = Boolean.ValueOf(Get(i)); if (test.Hit(t)) { return(RemoveValue(t.BooleanValue())); } } return(false); }
public Float Find(QueryEvent <Float> test) { for (int i = 0; i < length; i++) { Float t = Float.ValueOf(Get(i)); if (test.Hit(t)) { return(t); } } return(null); }
public bool Find(QueryEvent <Boolean> test) { for (int i = 0; i < length; i++) { Boolean t = Boolean.ValueOf(Get(i)); if (test.Hit(t)) { return(t.BooleanValue()); } } return(false); }
public bool Remove(QueryEvent <Float> test) { for (int i = length - 1; i > -1; i--) { Float t = Float.ValueOf(Get(i)); if (test.Hit(t)) { return(RemoveValue(t.FloatValue())); } } return(false); }
public bool Remove(QueryEvent <Integer> test) { for (int i = length - 1; i > -1; i--) { Integer t = Integer.ValueOf(Get(i)); if (test.Hit(t)) { return(RemoveValue(t.IntValue())); } } return(false); }
public Integer Find(QueryEvent <Integer> test) { for (int i = 0; i < length; i++) { Integer t = Integer.ValueOf(Get(i)); if (test.Hit(t)) { return(t); } } return(null); }
public bool Remove(QueryEvent <Character> test) { for (int i = length - 1; i > -1; i--) { Character t = Character.ValueOf(Get(i)); if (test.Hit(t)) { return(RemoveValue(t.CharValue())); } } return(false); }
public Character Find(QueryEvent <Character> test) { for (int i = 0; i < length; i++) { Character t = Character.ValueOf(Get(i)); if (test.Hit(t)) { return(t); } } return(null); }
public BoolArray Where(QueryEvent <Boolean> test) { BoolArray list = new BoolArray(); for (int i = 0; i < length; i++) { Boolean t = Boolean.ValueOf(Get(i)); if (test.Hit(t)) { list.Add(t.BooleanValue()); } } return(list); }
public FloatArray Where(QueryEvent <Float> test) { FloatArray list = new FloatArray(); for (int i = 0; i < length; i++) { Float t = Float.ValueOf(Get(i)); if (test.Hit(t)) { list.Add(t.FloatValue()); } } return(list); }
public IntArray Where(QueryEvent <Integer> test) { IntArray list = new IntArray(); for (int i = 0; i < length; i++) { Integer t = Integer.ValueOf(Get(i)); if (test.Hit(t)) { list.Add(t.IntValue()); } } return(list); }
public CharArray Where(QueryEvent <Character> test) { CharArray list = new CharArray(); for (int i = 0; i < length; i++) { Character t = Character.ValueOf(Get(i)); if (test.Hit(t)) { list.Add(t.CharValue()); } } return(list); }