| Modifier and Type | Class and Description |
|---|---|
| private class | |
| pack-priv static record |
| Modifier and Type | Field and Description |
|---|---|
| private final ObjIntFunction | |
| private int | |
| private Map |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final V | |
| private final V | |
| pack-priv final V | |
| private final V | |
| pack-priv final V | |
| pack-priv final <T extends Throwable> V | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final Iterable | |
| pack-priv final Iterable | |
| public final Iterator | |
| private List | |
| private List | |
| pack-priv final void | |
| pack-priv final int | |
| pack-priv final void | |
| pack-priv final void | |
| private void | |
| pack-priv final void | |
| private final Map | |
| public String | |
| private final void | |
| pack-priv final Iterable |
| constructor | back to summary |
|---|---|
| private final ObjIntFunction<K, V> constructor | |
| scopeLevel | back to summary |
|---|---|
| private int scopeLevel | |
| stack | back to summary |
|---|---|
| private Map<K, List<V>> stack | |
| ScopeStack | back to summary |
|---|---|
| pack-priv ScopeStack() | |
| ScopeStack | back to summary |
|---|---|
| pack-priv ScopeStack(V defaultValue) | |
| ScopeStack | back to summary |
|---|---|
| pack-priv ScopeStack(ObjIntFunction<K, V> constructor) | |
| create | back to summary |
|---|---|
| pack-priv final V create(K key) | |
| create0 | back to summary |
|---|---|
| private final V create0(K key, List<V> list) | |
| get | back to summary |
|---|---|
| pack-priv final V get(K key) | |
| get0 | back to summary |
|---|---|
| private final V get0(List<V> list) | |
| getOrCreate | back to summary |
|---|---|
| pack-priv final V getOrCreate(K key) | |
| getOrThrow | back to summary |
|---|---|
| pack-priv final <T extends Throwable> V getOrThrow(K key, Supplier<T> exception) throws Supplier-:T | |
| inScope | back to summary |
|---|---|
| pack-priv final boolean inScope() | |
| isEmpty | back to summary |
|---|---|
| pack-priv final boolean isEmpty() | |
| iterable | back to summary |
|---|---|
| pack-priv final Iterable | |
| iterableAtScopeLevel | back to summary |
|---|---|
| pack-priv final Iterable | |
| iterator | back to summary |
|---|---|
| public final Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| list | back to summary |
|---|---|
| private List | |
| listOrNull | back to summary |
|---|---|
| private List | |
| scopeEnd | back to summary |
|---|---|
| pack-priv final void scopeEnd() | |
| scopeLevel | back to summary |
|---|---|
| pack-priv final int scopeLevel() | |
| scopeStart | back to summary |
|---|---|
| pack-priv final void scopeStart() | |
| set | back to summary |
|---|---|
| pack-priv final void set(K key, V value) | |
| set0 | back to summary |
|---|---|
| private void set0(List<V> list, V value) | |
| setAll | back to summary |
|---|---|
| pack-priv final void setAll(V value) | |
| stack | back to summary |
|---|---|
| private final Map | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| trim | back to summary |
|---|---|
| private final void trim() | |
| valueIterable | back to summary |
|---|---|
| pack-priv final Iterable | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Predicate | |
| pack-priv final Iterator | |
| pack-priv U | |
| pack-priv final Function |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| private U | |
| public U | |
| public void | remove()
Overrides default java. |
| filter | back to summary |
|---|---|
| pack-priv final Predicate<? super U> filter | |
| it | back to summary |
|---|---|
| pack-priv final Iterator<List<V>> it | |
| next | back to summary |
|---|---|
| pack-priv U next | |
| valueExtractor | back to summary |
|---|---|
| pack-priv final Function<List<V>, U> valueExtractor | |
| ScopeStackIterator | back to summary |
|---|---|
| pack-priv ScopeStackIterator(Function<List<V>, U> valueExtractor, Predicate<? super U> filter) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| move | back to summary |
|---|---|
| private U move() | |
| next | back to summary |
|---|---|
| public U next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int | scopeLevel
Record Component accessed by scopeLevel(). |
| private final V |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. |
| public final int | |
| pack-priv static <V> ScopeStack. | |
| pack-priv static <V> ScopeStack. | |
| public int | |
| public final String | toString()
Implements abstract java. |
| public V |
| scopeLevel | back to summary |
|---|---|
| private final int scopeLevel Record Component accessed by scopeLevel(). | |
| value | back to summary |
|---|---|
| private final V value Record Component accessed by value(). | |
| Value | back to summary |
|---|---|
| pack-priv Value(int scopeLevel, V value) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| lastOf | back to summary |
|---|---|
| pack-priv static <V> ScopeStack. | |
| of | back to summary |
|---|---|
| pack-priv static <V> ScopeStack. | |
| scopeLevel | back to summary |
|---|---|
| public int scopeLevel() Record Component getter of scopeLevel. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |
| value | back to summary |
|---|---|
| public V value() Record Component getter of value. | |