- <init>
Constructs a set to be filled using the specified iterator. Iteration with the
given iterator will o
- size
Returns the number of elements in this set. Invoking this method forces the set
to immediately itera
- toArray
- cache
Caches a new element. Subclasses can override this method is they want to
substitute the given value
- canPullMore
Returns true if the #sourceIterator is non-null and have more elements to
return, or if we initializ
- contains
- createCache
Creates the #cachedElements array. This array will contains the elements given
by #initialValues() i
- exists
Returns true if an element exists at the given index. The element is not loaded
immediately.NOTE: Th
- initialValues
Hook for subclasses that want to prepend some values before the source Iterable.
This method is invo
- isEmpty
Tests if this set has no element.
- iterator
Returns an iterator over the elements contained in this set. This is not the
same iterator than the
- next
Returns the next element from the given iterator. Default implementation returns
Iterator#next(). Su