Class LeafNode<K,V> 
java.lang.Object
org.javimmutable.collections.tree.LeafNode<K,V> 
- All Implemented Interfaces:
 Iterable<IMapEntry<K,,V>> CollisionMap.Node,CollisionSet.Node,GenericIterator.Iterable<IMapEntry<K,,V>> SplitableIterable<IMapEntry<K,V>> 
¬ * A Node containing one value and no children.
- 
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()intiterateOverRange(GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) Create a State to iterate over the specified range of values if possible.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.javimmutable.collections.iterators.GenericIterator.Iterable
iterator, streamableMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.javimmutable.collections.SplitableIterable
forEachThrows, indexedForEach, indexedForEachThrows, reduce, reduceThrows 
- 
Method Details
- 
iterateOverRange
@Nullable public GenericIterator.State<IMapEntry<K,V>> iterateOverRange(@Nullable GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) Description copied from interface:GenericIterator.IterableCreate a State to iterate over the specified range of values if possible. Can return null if no more values are available. The range must be valid for the collection being iterated over. The returned State will return the parent as its result when iteration over the range is completed.- Parameters:
 parent- State to return to once the request iteration completesoffset- starting point for iterationlimit- stopping point for iteration- Returns:
 - null or a valid state
 
 - 
iterableSize
public int iterableSize() - 
hashCode
public int hashCode() - 
equals
 - 
toString
 
 -