T
- the item typepublic class SimpleSlice<T> extends Object implements Slice<T>
Constructor and Description |
---|
SimpleSlice(List<T> items)
This constructor take a list of items that can potentially be huge.
|
Modifier and Type | Method and Description |
---|---|
List<T> |
getItems()
Return items contained in the slice.
|
long |
getSize()
Returns the size of the slice.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, iterator, spliterator
Copyright © 2013-2018–2019 SeedStack. All rights reserved.