46 #import <Foundation/Foundation.h>
50 #if NS_BLOCKS_AVAILABLE
462 - (NSDictionary *)dictionaryByFilteringOperator:(
NSAObjectPicker)filter;
See Map/Filter/Reduce for concept of functional tools.
Definition: NSAFunctional.h:420
void(^ NSAObjectProcedureWithKey)(id obj, id key)
Procedure take an object with key. Take an object and execute job.
Definition: NSAFunctional.h:63
BOOL(^ NSAObjectPickerWithIndex)(id obj, NSUInteger index)
Object selection block. Take an object with index and returns a boolean.
Definition: NSAFunctional.h:83
FOUNDATION_EXTERN NSEnumerator * NSAFilterWithIndex(NSEnumerator *enumerator, NSAObjectPickerWithIndex filter)
Applies filter with index to every item of given enumerator and returns an enumerator with the filter...
See Map/Filter/Reduce for concept of functional tools.
Definition: NSAFunctional.h:732
FOUNDATION_EXTERN NSEnumerator * NSAMapWithIndex(id< NSFastEnumeration > enumerator, NSAObjectUnaryOperatorWithIndex mapper)
Applies mapper with index to every item of enumerator and returns an enumerator with every result ite...
BOOL(^ NSAObjectPickerWithKey)(id obj, id key)
Object selection block. Take an object with key and returns a boolean.
Definition: NSAFunctional.h:87
See Map/Filter/Reduce for concept of functional tools.
Definition: NSAFunctional.h:627
See Map/Filter/Reduce for concept of functional tools.
Definition: NSAFunctional.h:547
void(^ NSAObjectProcedureWithCount)(id obj, NSUInteger count)
Definition: NSAFunctional.h:723
BOOL(^ NSAObjectPickerWithCount)(id obj, NSUInteger count)
Definition: NSAFunctional.h:725
id(^ NSAObjectUnaryOperatorWithCount)(id obj, NSUInteger count)
Definition: NSAFunctional.h:724
id(^ NSAObjectUnaryOperator)(id obj)
Object unary operation block. Take an object and returns an object.
Definition: NSAFunctional.h:67
FOUNDATION_EXTERN NSEnumerator * NSAFilter(NSEnumerator *enumerator, NSAObjectPicker filter)
Applies filter to every item of given enumerator and returns an enumerator with the filter result is ...
void(^ NSAObjectProcedureWithIndex)(id obj, NSUInteger index)
Procedure take an object with index. Take an object and execute job.
Definition: NSAFunctional.h:59
FOUNDATION_EXTERN NSEnumerator * NSAMapFilterWithIndex(NSEnumerator *enumerator, NSAObjectUnaryOperatorWithIndex mapper)
Applies mapper with index to every item of enumerator and returns an enumerator with every result ite...
FOUNDATION_EXTERN void NSAApplyWithIndex(id< NSFastEnumeration > enumerator, NSAObjectProcedureWithIndex procedure)
Applies mapper with index to every item of enumerator.
FOUNDATION_EXTERN NSEnumerator * NSAMap(id< NSFastEnumeration > enumerator, NSAObjectUnaryOperator mapper)
Applies mapper to every item of enumerator and returns an enumerator with every result items...
id(^ NSAObjectUnaryOperatorWithIndex)(id obj, NSUInteger index)
Object unary operation block. Take an object with index and returns an object.
Definition: NSAFunctional.h:71
id(^ NSAObjectUnaryOperatorWithKey)(id obj, id key)
Object unary operation block. Take an object with key and returns an object.
Definition: NSAFunctional.h:75
void(^ NSAObjectProcedure)(id obj)
Procedure take an object. Take an object and execute job.
Definition: NSAFunctional.h:55
FOUNDATION_EXTERN id NSAReduceWithInitialObject(id< NSFastEnumeration > enumerator, NSAObjectBinaryOperator operation, id initialObject)
Applies operation of two arguments cumulatively to the items of enumerator, from left to right...
See Map/Filter/Reduce for concept of functional tools.
Definition: NSAFunctional.h:373
FOUNDATION_EXTERN NSEnumerator * NSAMapFilter(NSEnumerator *enumerator, NSAObjectUnaryOperator mapper)
Applies mapper to every item of enumerator and returns an enumerator with every result items except n...
See Map/Filter/Reduce for concept of functional tools.
Definition: NSAFunctional.h:191
See Map/Filter/Reduce for concept of functional tools.
Definition: NSAFunctional.h:278
id(^ NSAObjectBinaryOperator)(id obj1, id obj2)
Object binary operation block. Take 2 objects and returns an object.
Definition: NSAFunctional.h:91
BOOL(^ NSAObjectPicker)(id obj)
Object selection block. Take an object and returns a boolean.
Definition: NSAFunctional.h:79
See Map/Filter/Reduce for concept of functional tools.
Definition: NSAFunctional.h:501
FOUNDATION_EXTERN id NSAReduce(NSEnumerator *enumerator, NSAObjectBinaryOperator operation)
Applies operation of two arguments cumulatively to the items of enumerator, from left to right...
FOUNDATION_EXTERN void NSAApply(id< NSFastEnumeration > enumerator, NSAObjectProcedure procedure)
Applies mapper to every item of enumerator.