Interface IItemIterable

    • Method Detail

      • getType

        IType<IItem> 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

        IItemIterable apply​(IPredicate<IItem> predicate)
        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