T
- the item typepublic interface Slice<T> extends Iterable<T>
Modifier and Type | Method and Description |
---|---|
default void |
forEach(Consumer<? super T> action) |
List<T> |
getItems()
Return items contained in the slice.
|
long |
getSize()
Returns the size of the slice.
|
default Iterator<T> |
iterator() |
default Spliterator<T> |
spliterator() |
long getSize()
default Spliterator<T> spliterator()
spliterator
in interface Iterable<T>
Copyright © 2013-2018–2019 SeedStack. All rights reserved.