K - Dictionary key typeV - Dictionary value typepublic interface TailMapInternal<K,V> extends TailMap<K,V>
TailMap.| Modifier and Type | Method and Description |
|---|---|
static <K,V> boolean |
putAtDefault(TailMap<K,V> caller,
K key)
Decision logic for
TailMap class implementations. |
void |
setIteratingActive(boolean iteratingActive)
Sets the iterating active flag
|
void |
setIteratingActiveSegment(java.lang.AutoCloseable iteratingActiveSegment)
Sets the auto-closable object, which may be set once as soon as the iterating active flag becomes true.
|
flagIterating, isIteratingActive, popvoid setIteratingActive(boolean iteratingActive)
iteratingActive - Iterating active true or false.void setIteratingActiveSegment(java.lang.AutoCloseable iteratingActiveSegment)
iteratingActiveSegment - Pass the auto-closable object at the instant the iterating active flag becomes true.
Pass null as soon as the iterating active flag becomes false.static <K,V> boolean putAtDefault(TailMap<K,V> caller, K key)
TailMap class implementations.
If putAtDefault, the key can be stored in the default
super collection. Else, the key must be stored in the
tailMap collection.caller - The TailMap which calls this helper function.key - The key of the key-value pair to be stored in the collection.