Uses of Interface
org.javimmutable.collections.iterators.GenericIterator.State
Package
Description
-
Uses of GenericIterator.State in org.javimmutable.collections.common
Modifier and TypeMethodDescriptionCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) CollisionSet.iterateOverRange
(CollisionSet.Node node, GenericIterator.State<T> parent, int offset, int limit) Modifier and TypeMethodDescriptionCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) CollisionSet.iterateOverRange
(CollisionSet.Node node, GenericIterator.State<T> parent, int offset, int limit) -
Uses of GenericIterator.State in org.javimmutable.collections.iterators
Modifier and TypeMethodDescriptionGenericIterator.State.advance()
Try to move forward to the next position.static <T> GenericIterator.State
<T> GenericIterator.State.advanceToNextValue
(GenericIterator.State<T> state) Advances past current value (if any) and then chains calls toadvance()
until wither a value is reached or null is returned.static <T> GenericIterator.State
<T> GenericIterator.State.advanceUntilHasValue
(GenericIterator.State<T> state) Chains calls toadvance()
until wither a value is reached or null is returned.GenericIterator.Iterable.iterateOverRange
(GenericIterator.State<T> parent, int offset, int limit) Create a State to iterate over the specified range of values if possible.static <T> GenericIterator.State
<T> GenericIterator.multiIterableState
(GenericIterator.State<T> parent, Indexed<? extends GenericIterator.Iterable<T>> children, int offset, int limit) Returns a State for iterating multiple collections (Iterables) that are themselves stored in an Indexed collection.static <T> GenericIterator.State
<T> GenericIterator.multiValueState
(GenericIterator.State<T> parent, Indexed<T> values, int offset, int limit) Returns a State for iterating multiple values stored in an Indexed collection.static <T> GenericIterator.State
<T> GenericIterator.singleValueState
(GenericIterator.State<T> parent, T value, int offset, int limit) Returns a State for iterating a single value.static <A,
B> GenericIterator.State <B> GenericIterator.transformState
(GenericIterator.State<B> parent, GenericIterator.State<A> source, Func1<A, B> transforminator) Returns a State for iterating over another State's values but transforming each of those values using a function before returning to its caller.Modifier and TypeMethodDescriptionstatic <T> GenericIterator.State
<T> GenericIterator.State.advanceToNextValue
(GenericIterator.State<T> state) Advances past current value (if any) and then chains calls toadvance()
until wither a value is reached or null is returned.static <T> GenericIterator.State
<T> GenericIterator.State.advanceUntilHasValue
(GenericIterator.State<T> state) Chains calls toadvance()
until wither a value is reached or null is returned.GenericIterator.Iterable.iterateOverRange
(GenericIterator.State<T> parent, int offset, int limit) Create a State to iterate over the specified range of values if possible.static <T> GenericIterator.State
<T> GenericIterator.multiIterableState
(GenericIterator.State<T> parent, Indexed<? extends GenericIterator.Iterable<T>> children, int offset, int limit) Returns a State for iterating multiple collections (Iterables) that are themselves stored in an Indexed collection.static <T> GenericIterator.State
<T> GenericIterator.multiValueState
(GenericIterator.State<T> parent, Indexed<T> values, int offset, int limit) Returns a State for iterating multiple values stored in an Indexed collection.static <T> GenericIterator.State
<T> GenericIterator.singleValueState
(GenericIterator.State<T> parent, T value, int offset, int limit) Returns a State for iterating a single value.static <A,
B> GenericIterator.State <B> GenericIterator.transformState
(GenericIterator.State<B> parent, GenericIterator.State<A> source, Func1<A, B> transforminator) Returns a State for iterating over another State's values but transforming each of those values using a function before returning to its caller. -
Uses of GenericIterator.State in org.javimmutable.collections.list
Modifier and TypeMethodDescriptionListCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) ListCollisionSet.iterateOverRange
(CollisionSet.Node node, GenericIterator.State<T> parent, int offset, int limit) Modifier and TypeMethodDescriptionListCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) ListCollisionSet.iterateOverRange
(CollisionSet.Node node, GenericIterator.State<T> parent, int offset, int limit) -
Uses of GenericIterator.State in org.javimmutable.collections.tree
Modifier and TypeMethodDescriptionLeafNode.iterateOverRange
(GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) TreeCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) TreeCollisionSet.iterateOverRange
(CollisionSet.Node node, GenericIterator.State<T> parent, int offset, int limit) Modifier and TypeMethodDescriptionLeafNode.iterateOverRange
(GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) TreeCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) TreeCollisionSet.iterateOverRange
(CollisionSet.Node node, GenericIterator.State<T> parent, int offset, int limit)