         return result;
     }
 
-    public static function findFirst(array:Array, boolFunction:Function):int
+    public static function indexOf(array:Array, boolFunction:Function):int
     {
         var i:int;
         if (!array) return -1;

        return -1;
    }

    public static function findLast(array:Array, boolFunction:Function):int
    {
        var i:int;
        if (!array) return -1;

            }
        }
        return -1;
    }

    public static function getFirst(array:Array, boolFunction:Function):*
    {
        var index:int = indexOf(array, boolFunction);
        return index >= 0 ? array[index] : null;
    }

    public static function getLast(array:Array, boolFunction:Function):*
    {
        var index:int = lastIndexOf(array, boolFunction);
        return index >= 0 ? array[index] : null;
    }

    /**
