Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


ERXArrayUtilities provides convenience methods and tools for manipulating NSArrays. Many of the methods are self explanatory. For a full list please see the api ( Removed).

NSArray operators

WebObjects provides @sum, @avg, etc array operators. ERXArrayUtilities adds quite a few more:


which return the median of the array elements at the given key path.
The median is the value for which half of the elements are above and half the elements are below.
As such, an array sort is needed and this might be very costly depending of the size of the array.Category:WebObjects