Class MapIterate

java.lang.Object
org.eclipse.collections.impl.utility.MapIterate

public final class MapIterate
extends Object
The MapIterate class provides a few of the methods from the Smalltalk Collection Protocol. This includes:
  • select: -- a.k.a. filter
  • reject: -- a.k.a. not-filter
  • collect: -- a.k.a. transform, map, tear-off
  • inject:into: -- closely related to reduce and fold
  • detect: -- a.k.a. find, search
  • detect:ifNone:
  • anySatisfy: -- a.k.a. exists
  • allSatisfy:
Since Maps have two data-points per entry (i.e. key and value), most of the implementations in this class iterates over the values only, unless otherwise specified. To iterate over the keys, use keySet() with standard Iterate methods.
Since:
1.0
See Also:
Iterate