Uses of Interface
org.midheaven.collections.Enumerator
Packages that use Enumerator
-
Uses of Enumerator in org.midheaven.collections
Classes in org.midheaven.collections that implement EnumeratorMethods in org.midheaven.collections that return EnumeratorModifier and TypeMethodDescriptionstatic <T> Enumerator<T> Enumerator.empty()Returns an empty instance.final Enumerator<T> AbstractEnumerableDecorator.enumerator()Returns an enumerator over the elements.Enumerable.enumerator()Returns an enumerator over the elements.static <T> Enumerator<T> Enumerator.fromIterator(Iterator<T> iterator) Creates an Enumerator from anIteratorthat can be infinite.static <T> Enumerator<T> Enumerator.fromIterator(Iterator<T> iterator, Int size) Creates an Enumerator from anIteratorthat can be infinite, but limites it to a fixed size.static <T> Enumerator<T> Enumerator.single(T value) Creates an Enumerator with just one single value