Module de.cuioss.java.tools
Package de.cuioss.tools.collect
Interface PartialCollection<T extends Serializable>
- Type Parameters:
T- the type of the entity
- All Superinterfaces:
Collection<T>,Iterable<T>,Serializable
- All Known Implementing Classes:
PartialArrayList
Represents a partial collection / sub-collection. It extends the
Collection interface with isMoreAvailable() flag.
This indicates that the original Collection provides more
data than the current PartialCollection. It
defines the lower bound for the contained types to
Serializable. Currently, the only implementation is
PartialArrayList. It provides convenient
methods for instantiation, like
PartialArrayList.of(java.util.List, int)- Author:
- oliver
-
Method Details
-
isMoreAvailable
boolean isMoreAvailable()isMoreAvailable.
- Returns:
trueif more entities are available and ignored due to the given limit.
-