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 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:
      true if more entities are available and ignored due to the given limit.