Class CachedCollection<T>

java.lang.Object
com.comphenix.protocol.wrappers.collection.CachedCollection<T>
Type Parameters:
T - - type of each element in the collection.
All Implemented Interfaces:
Iterable<T>, Collection<T>
Direct Known Subclasses:
CachedSet

public class CachedCollection<T> extends Object implements Collection<T>
Represents a set that will (best effort) cache elements before using an underlying set to retrieve the actual element.

The cache will be invalidated when data is removed.