Class LazyCollection<T, C extends Collection<T>>

java.lang.Object
java.util.AbstractCollection<T>
org.aksw.commons.accessors.LazyCollection<T,C>
Type Parameters:
T -
All Implemented Interfaces:
Iterable<T>, Collection<T>

public class LazyCollection<T, C extends Collection<T>> extends AbstractCollection<T>
Collection that forwards method calls to another one that is only instantiated on addition of items if it did not yet exist Delegates removals to it
Author:
raven Apr 9, 2018