Class CachedIteratorCollection<E>

java.lang.Object
java.util.AbstractCollection<E>
net.i2p.router.util.CachedIteratorCollection<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>

public class CachedIteratorCollection<E> extends AbstractCollection<E>
Extend java.util.AbstractCollection to create a collection that can be iterated over without creation of a new object
Since:
0.9.36
  • Constructor Details

    • CachedIteratorCollection

      public CachedIteratorCollection()
      Default constructor
  • Method Details