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 interface
XImmutableTable.Bridge<K,V>
static interface
XImmutableTable.EntriesBridge<K,V>
static interface
XImmutableTable.Keys<K,V>
static interface
XImmutableTable.Satellite<K,V>
static interface
XImmutableTable.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.V
get(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()
boolean
nullKeyAllowed()
boolean
nullValuesAllowed()
XImmutableTable.EntriesBridge<K,V>
old()
XImmutableTable.Bridge<K,V>
oldMap()
V
searchValue(Predicate<? super K> keyPredicate)
XImmutableTable.Values<K,V>
values()
Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacity
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowed
Methods 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, union
Methods inherited from interface one.microstream.collections.types.XGettingEnum
iterate, range, toReversed, view, view
Methods 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:
get
in interfaceXGettingMap<K,V>
- Specified by:
get
in interfaceXImmutableMap<K,V>
-
searchValue
- Specified by:
searchValue
in interfaceXGettingMap<K,V>
- Specified by:
searchValue
in interfaceXImmutableMap<K,V>
-
keys
XImmutableTable.Keys<K,V> keys()- Specified by:
keys
in interfaceXGettingMap<K,V>
- Specified by:
keys
in interfaceXGettingTable<K,V>
- Specified by:
keys
in interfaceXImmutableMap<K,V>
-
values
XImmutableTable.Values<K,V> values()- Specified by:
values
in interfaceXGettingMap<K,V>
- Specified by:
values
in interfaceXGettingTable<K,V>
- Specified by:
values
in interfaceXImmutableMap<K,V>
-
copy
XImmutableTable<K,V> copy()Description copied from interface:XGettingCollection
Creates 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:
copy
in interfaceCopyable
- Specified by:
copy
in interfaceXGettingCollection<K>
- Specified by:
copy
in interfaceXGettingEnum<K>
- Specified by:
copy
in interfaceXGettingMap<K,V>
- Specified by:
copy
in interfaceXGettingSequence<K>
- Specified by:
copy
in interfaceXGettingSet<K>
- Specified by:
copy
in interfaceXGettingTable<K,V>
- Specified by:
copy
in interfaceXImmutableCollection<K>
- Specified by:
copy
in interfaceXImmutableEnum<K>
- Specified by:
copy
in interfaceXImmutableMap<K,V>
- Specified by:
copy
in interfaceXImmutableSequence<K>
- Specified by:
copy
in 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:
immure
in interfaceXGettingCollection<K>
- Specified by:
immure
in interfaceXGettingEnum<K>
- Specified by:
immure
in interfaceXGettingMap<K,V>
- Specified by:
immure
in interfaceXGettingSequence<K>
- Specified by:
immure
in interfaceXGettingSet<K>
- Specified by:
immure
in interfaceXGettingTable<K,V>
- Specified by:
immure
in interfaceXImmutableCollection<K>
- Specified by:
immure
in interfaceXImmutableEnum<K>
- Specified by:
immure
in interfaceXImmutableMap<K,V>
- Specified by:
immure
in interfaceXImmutableSequence<K>
- Specified by:
immure
in interfaceXImmutableSet<K>
- Returns:
- an immutable copy of this collection instance.
- See Also:
XImmutableCollection.copy()
-
old
XImmutableTable.EntriesBridge<K,V> old()- Specified by:
old
in interfaceXGettingCollection<K>
- Specified by:
old
in interfaceXGettingMap<K,V>
- Specified by:
old
in interfaceXGettingTable<K,V>
- Specified by:
old
in interfaceXImmutableMap<K,V>
-
oldMap
XImmutableTable.Bridge<K,V> oldMap()- Specified by:
oldMap
in interfaceXGettingMap<K,V>
- Specified by:
oldMap
in interfaceXGettingTable<K,V>
- Specified by:
oldMap
in interfaceXImmutableMap<K,V>
-
nullKeyAllowed
boolean nullKeyAllowed()- Specified by:
nullKeyAllowed
in interfaceXGettingMap<K,V>
- Specified by:
nullKeyAllowed
in interfaceXImmutableMap<K,V>
-
nullValuesAllowed
boolean nullValuesAllowed()- Specified by:
nullValuesAllowed
in interfaceXGettingMap<K,V>
- Specified by:
nullValuesAllowed
in interfaceXImmutableMap<K,V>
-