Package org.openjdk.jmc.common.item
Interface IItemIterable
-
Method Details
-
getType
- Returns:
- The type for all items in the iterator
-
hasItems
boolean hasItems()- Returns:
- true if the iterable contains items, false otherwise
-
getItemCount
long getItemCount()- Returns:
- the number of items in the iterable
-
apply
Creates a new item iterable with all items in this iterable that pass through the filter. The iterable may be eagerly or lazily evaluated.- Parameters:
predicate
- the predicate to use when selecting items for the new collection- Returns:
- A new collection of items
-
stream
- Returns:
- a new sequential
Stream
-
parallelStream
- Returns:
- a new parallel
Stream
-
get
-