Interface XImmutableTable<K,V>
- All Superinterfaces:
CapacityCarrying,Copyable,ExtendedCollection<KeyValue<K,V>>,ExtendedMap<K,V>,ExtendedSequence<KeyValue<K,V>>,HashImmutable,Immutable,Iterable<KeyValue<K,V>>,Sized,ThreadSafe,XGettingCollection<KeyValue<K,V>>,XGettingEnum<KeyValue<K,V>>,XGettingMap<K,V>,XGettingSequence<KeyValue<K,V>>,XGettingSet<KeyValue<K,V>>,XGettingTable<K,V>,XImmutableCollection<KeyValue<K,V>>,XImmutableEnum<KeyValue<K,V>>,XImmutableMap<K,V>,XImmutableSequence<KeyValue<K,V>>,XImmutableSet<KeyValue<K,V>>,XIndexIterable<KeyValue<K,V>>,XIterable<KeyValue<K,V>>,XJoinable<KeyValue<K,V>>
- All Known Implementing Classes:
ConstHashTable,EmptyTable,EqConstHashTable
public interface XImmutableTable<K,V> extends XImmutableMap<K,V>, XGettingTable<K,V>, XImmutableEnum<KeyValue<K,V>>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXImmutableTable.Bridge<K,V>static interfaceXImmutableTable.EntriesBridge<K,V>static interfaceXImmutableTable.Keys<K,V>static interfaceXImmutableTable.Satellite<K,V>static interfaceXImmutableTable.Values<K,V>Nested classes/interfaces inherited from interface one.microstream.collections.interfaces.ExtendedCollection
ExtendedCollection.Creator<E,C extends ExtendedCollection<E>>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingCollection
XGettingCollection.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingEnum
XGettingEnum.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingMap
XGettingMap.Creator<K,V>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingSequence
XGettingSequence.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingSet
XGettingSet.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XImmutableEnum
XImmutableEnum.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XImmutableSet
XImmutableSet.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E> -
Method Summary
Modifier and Type Method Description XImmutableTable<K,V>copy()Creates a true copy of this collection which references the same elements as this collection does at the time the method is called.Vget(K key)XImmutableTable<K,V>immure()Provides an instance of an immutable collection type with equal behavior and data as this instance.XImmutableTable.Keys<K,V>keys()booleannullKeyAllowed()booleannullValuesAllowed()XImmutableTable.EntriesBridge<K,V>old()XImmutableTable.Bridge<K,V>oldMap()VsearchValue(Predicate<? super K> keyPredicate)XImmutableTable.Values<K,V>values()Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowedMethods inherited from interface one.microstream.collections.types.XGettingCollection
applies, contains, containsAll, containsId, containsSearched, copyTo, count, countBy, distinct, distinct, equality, equals, equals, equalsContent, except, filterTo, hashCode, hasVolatileElements, intersect, intSize, iterator, join, max, min, nullContained, search, seek, size, toArray, toArray, unionMethods inherited from interface one.microstream.collections.types.XGettingEnum
iterate, range, toReversed, view, viewMethods inherited from interface one.microstream.collections.types.XGettingSequence
at, copySelection, first, get, hasIndex, indexBy, indexOf, isSorted, last, lastIndexBy, lastIndexOf, maxIndex, minIndex, peek, poll, scan
-
Method Details
-
get
- Specified by:
getin interfaceXGettingMap<K,V>- Specified by:
getin interfaceXImmutableMap<K,V>
-
searchValue
- Specified by:
searchValuein interfaceXGettingMap<K,V>- Specified by:
searchValuein interfaceXImmutableMap<K,V>
-
keys
XImmutableTable.Keys<K,V> keys()- Specified by:
keysin interfaceXGettingMap<K,V>- Specified by:
keysin interfaceXGettingTable<K,V>- Specified by:
keysin interfaceXImmutableMap<K,V>
-
values
XImmutableTable.Values<K,V> values()- Specified by:
valuesin interfaceXGettingMap<K,V>- Specified by:
valuesin interfaceXGettingTable<K,V>- Specified by:
valuesin interfaceXImmutableMap<K,V>
-
copy
XImmutableTable<K,V> copy()Description copied from interface:XGettingCollectionCreates a true copy of this collection which references the same elements as this collection does at the time the method is called. The elements themselves are NOT copied (no deep copying).
The type of the returned set is the same as of this list if possible.- Specified by:
copyin interfaceCopyable- Specified by:
copyin interfaceXGettingCollection<K>- Specified by:
copyin interfaceXGettingEnum<K>- Specified by:
copyin interfaceXGettingMap<K,V>- Specified by:
copyin interfaceXGettingSequence<K>- Specified by:
copyin interfaceXGettingSet<K>- Specified by:
copyin interfaceXGettingTable<K,V>- Specified by:
copyin interfaceXImmutableCollection<K>- Specified by:
copyin interfaceXImmutableEnum<K>- Specified by:
copyin interfaceXImmutableMap<K,V>- Specified by:
copyin interfaceXImmutableSequence<K>- Specified by:
copyin interfaceXImmutableSet<K>- Returns:
- a copy of this list
-
immure
XImmutableTable<K,V> immure()Provides an instance of an immutable collection type with equal behavior and data as this instance.If this instance already is of an immutable collection type, it returns itself.
- Specified by:
immurein interfaceXGettingCollection<K>- Specified by:
immurein interfaceXGettingEnum<K>- Specified by:
immurein interfaceXGettingMap<K,V>- Specified by:
immurein interfaceXGettingSequence<K>- Specified by:
immurein interfaceXGettingSet<K>- Specified by:
immurein interfaceXGettingTable<K,V>- Specified by:
immurein interfaceXImmutableCollection<K>- Specified by:
immurein interfaceXImmutableEnum<K>- Specified by:
immurein interfaceXImmutableMap<K,V>- Specified by:
immurein interfaceXImmutableSequence<K>- Specified by:
immurein interfaceXImmutableSet<K>- Returns:
- an immutable copy of this collection instance.
- See Also:
XImmutableCollection.copy()
-
old
XImmutableTable.EntriesBridge<K,V> old()- Specified by:
oldin interfaceXGettingCollection<K>- Specified by:
oldin interfaceXGettingMap<K,V>- Specified by:
oldin interfaceXGettingTable<K,V>- Specified by:
oldin interfaceXImmutableMap<K,V>
-
oldMap
XImmutableTable.Bridge<K,V> oldMap()- Specified by:
oldMapin interfaceXGettingMap<K,V>- Specified by:
oldMapin interfaceXGettingTable<K,V>- Specified by:
oldMapin interfaceXImmutableMap<K,V>
-
nullKeyAllowed
boolean nullKeyAllowed()- Specified by:
nullKeyAllowedin interfaceXGettingMap<K,V>- Specified by:
nullKeyAllowedin interfaceXImmutableMap<K,V>
-
nullValuesAllowed
boolean nullValuesAllowed()- Specified by:
nullValuesAllowedin interfaceXGettingMap<K,V>- Specified by:
nullValuesAllowedin interfaceXImmutableMap<K,V>
-