Beispiel #1
0
 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);
 }
Beispiel #2
0
        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);
        }
Beispiel #3
0
 public void Write(Float aFloat)
 {
     WriteInteger32ToByteArray(Float.FloatToIntBits(aFloat.FloatValue()));
 }