Package io.cui.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
public interface PartialCollection<T extends Serializable> extends Collection<T>, Serializable
Represents a partial collection / sub-collection. It extends theCollectioninterface withisMoreAvailable()flag. This indicates that the originalCollectionprovides more data than the currentPartialCollection. It defines the lower bound for the contained types toSerializable. Currently, the only implementation isPartialArrayList. It provides convenient methods for instantiation, likePartialArrayList.of(java.util.List, int)- Author:
- oliver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisMoreAvailable()isMoreAvailable.
-
-
-
Method Detail
-
isMoreAvailable
boolean isMoreAvailable()
isMoreAvailable.
- Returns:
trueif more entities are available and ignored due to the given limit.
-
-