Interface XGettingTable<K,V>
- Type Parameters:
K-V-
- All Superinterfaces:
CapacityCarrying,Copyable,ExtendedCollection<KeyValue<K,V>>,ExtendedMap<K,V>,ExtendedSequence<KeyValue<K,V>>,Iterable<KeyValue<K,V>>,Sized,XGettingCollection<KeyValue<K,V>>,XGettingEnum<KeyValue<K,V>>,XGettingMap<K,V>,XGettingSequence<KeyValue<K,V>>,XGettingSet<KeyValue<K,V>>,XIndexIterable<KeyValue<K,V>>,XIterable<KeyValue<K,V>>,XJoinable<KeyValue<K,V>>
- All Known Subinterfaces:
XBasicTable<K,V>,XChart<K,V>,XImmutableTable<K,V>,XTable<K,V>
- All Known Implementing Classes:
ConstHashTable,EmptyTable,EqConstHashTable,EqHashTable,HashTable,TableView
public interface XGettingTable<K,V> extends XGettingMap<K,V>, XGettingEnum<KeyValue<K,V>>
Map plus order
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXGettingTable.Bridge<K,V>static interfaceXGettingTable.EntriesBridge<K,V>static interfaceXGettingTable.Keys<K,V>static interfaceXGettingTable.Satellite<K,V>static interfaceXGettingTable.Values<K,V>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.XIterable
XIterable.Executor<E> -
Method Summary
Modifier and Type Method Description XGettingTable<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.XImmutableTable<K,V>immure()Provides an instance of an immutable collection type with equal behavior and data as this instance.XGettingTable.Keys<K,V>keys()XGettingTable.EntriesBridge<K,V>old()XGettingTable.Bridge<K,V>oldMap()XGettingTable.Values<K,V>values()XGettingTable<K,V>view()Creates a view of this collection and returns it.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, viewMethods inherited from interface one.microstream.collections.types.XGettingMap
get, lookup, nullKeyAllowed, nullValuesAllowed, query, searchValueMethods 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
-
keys
XGettingTable.Keys<K,V> keys()- Specified by:
keysin interfaceXGettingMap<K,V>
-
values
XGettingTable.Values<K,V> values()- Specified by:
valuesin interfaceXGettingMap<K,V>
-
view
XGettingTable<K,V> view()Description copied from interface:XGettingCollectionCreates a view of this collection and returns it. It is a read-only collection, which wraps around this collection and only allows read methods.A view is different from immutable collection (
XGettingCollection.immure()) in the way, that changes in this collection are still affecting the view. The immutable collection on the other hand has no reference to this collection and changes therefore do not affect the immutable collection.- Specified by:
viewin interfaceXGettingCollection<K>- Specified by:
viewin interfaceXGettingEnum<K>- Specified by:
viewin interfaceXGettingMap<K,V>- Specified by:
viewin interfaceXGettingSequence<K>- Returns:
- new read-only collection to view this collection
-
immure
XImmutableTable<K,V> immure()Description copied from interface:XGettingMapProvides 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>- Returns:
- an immutable copy of this collection instance.
-
old
XGettingTable.EntriesBridge<K,V> old()- Specified by:
oldin interfaceXGettingCollection<K>- Specified by:
oldin interfaceXGettingMap<K,V>
-
oldMap
XGettingTable.Bridge<K,V> oldMap()- Specified by:
oldMapin interfaceXGettingMap<K,V>
-
copy
XGettingTable<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>- Returns:
- a copy of this list
-