private static class SingleEntryItemCollection.SingleEntryIItemIterable extends java.lang.Object implements IItemIterable
| Constructor and Description |
|---|
SingleEntryIItemIterable(IItem item) |
| Modifier and Type | Method and Description |
|---|---|
IItemIterable |
apply(java.util.function.Predicate<IItem> predicate)
Creates a new item iterable with all items in this iterable that pass through the filter.
|
long |
getItemCount() |
IType<IItem> |
getType() |
boolean |
hasItems() |
java.util.Iterator<IItem> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, parallelStream, streamprivate final java.util.List<IItem> itemList
public SingleEntryIItemIterable(IItem item)
public java.util.Iterator<IItem> iterator()
iterator in interface java.lang.Iterable<IItem>public IType<IItem> getType()
getType in interface IItemIterablepublic boolean hasItems()
hasItems in interface IItemIterablepublic long getItemCount()
getItemCount in interface IItemIterablepublic IItemIterable apply(java.util.function.Predicate<IItem> predicate)
IItemIterableapply in interface IItemIterablepredicate - the predicate to use when selecting items for the new collection