Interface XBasicTable<K,V>
- Type Parameters:
K- type of contained keysV- type of contained values
- All Superinterfaces:
CapacityCarrying,CapacityExtendable,Clearable,ConsolidatableCollection,Consumer<KeyValue<K,V>>,Copyable,ExtendedCollection<KeyValue<K,V>>,ExtendedMap<K,V>,ExtendedSequence<KeyValue<K,V>>,Iterable<KeyValue<K,V>>,OptimizableCollection,Processable<KeyValue<K,V>>,ReleasingCollection<KeyValue<K,V>>,Sized,Truncateable,XAddGetCollection<KeyValue<K,V>>,XAddGetMap<K,V>,XAddGetSet<KeyValue<K,V>>,XAddingCollection<KeyValue<K,V>>,XAddingEnum<KeyValue<K,V>>,XAddingMap<K,V>,XAddingSequence<KeyValue<K,V>>,XAddingSet<KeyValue<K,V>>,XAddingTable<K,V>,XBasicEnum<KeyValue<K,V>>,XBasicSequence<KeyValue<K,V>>,XCollection<KeyValue<K,V>>,XGettingCollection<KeyValue<K,V>>,XGettingEnum<KeyValue<K,V>>,XGettingMap<K,V>,XGettingSequence<KeyValue<K,V>>,XGettingSet<KeyValue<K,V>>,XGettingTable<K,V>,XIndexIterable<KeyValue<K,V>>,XIterable<KeyValue<K,V>>,XJoinable<KeyValue<K,V>>,XMap<K,V>,XProcessingCollection<KeyValue<K,V>>,XProcessingEnum<KeyValue<K,V>>,XProcessingMap<K,V>,XProcessingSequence<KeyValue<K,V>>,XProcessingSet<KeyValue<K,V>>,XPutGetCollection<KeyValue<K,V>>,XPutGetEnum<KeyValue<K,V>>,XPutGetMap<K,V>,XPutGetSequence<KeyValue<K,V>>,XPutGetSet<KeyValue<K,V>>,XPuttingCollection<KeyValue<K,V>>,XPuttingEnum<KeyValue<K,V>>,XPuttingMap<K,V>,XPuttingSequence<KeyValue<K,V>>,XPuttingSet<KeyValue<K,V>>,XRemovingCollection<KeyValue<K,V>>,XRemovingEnum<KeyValue<K,V>>,XRemovingMap<K,V>,XRemovingSequence<KeyValue<K,V>>,XRemovingSet<KeyValue<K,V>>,XSet<KeyValue<K,V>>
- All Known Implementing Classes:
EqHashTable,HashTable
public interface XBasicTable<K,V> extends XMap<K,V>, XGettingTable<K,V>, XBasicEnum<KeyValue<K,V>>, XAddingTable<K,V>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXBasicTable.Bridge<K,V>static interfaceXBasicTable.EntriesBridge<K,V>static interfaceXBasicTable.Keys<K,V>static interfaceXBasicTable.Satellite<K,V>static interfaceXBasicTable.Values<K,V>Nested classes/interfaces inherited from interface one.microstream.collections.types.XAddingTable
XAddingTable.Creator<K,V>Nested classes/interfaces inherited from interface one.microstream.collections.types.XBasicEnum
XBasicEnum.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XBasicSequence
XBasicSequence.Factory<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.XIterable
XIterable.Executor<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XMap
XMap.Creator<K,V>Nested classes/interfaces inherited from interface one.microstream.collections.types.XProcessingSequence
XProcessingSequence.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XProcessingSet
XProcessingSet.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XPutGetSequence
XPutGetSequence.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XPutGetSet
XPutGetSet.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XRemovingEnum
XRemovingEnum.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XRemovingMap
XRemovingMap.Factory<K,V>Nested classes/interfaces inherited from interface one.microstream.collections.types.XSet
XSet.Factory<E> -
Method Summary
Modifier and Type Method Description XBasicTable<K,V>addAll(XGettingCollection<? extends KeyValue<K,V>> elements)XBasicTable<K,V>addAll(KeyValue<K,V>... elements)XBasicTable<K,V>addAll(KeyValue<K,V>[] elements, int srcStartIndex, int srcLength)XBasicTable<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.booleanhasVolatileValues()XBasicTable.Keys<K,V>keys()XBasicTable.EntriesBridge<K,V>old()XBasicTable.Bridge<K,V>oldMap()XBasicTable<K,V>putAll(XGettingCollection<? extends KeyValue<K,V>> elements)Adds the specified elements to this collection if it is not already present (optional operation).XBasicTable<K,V>putAll(KeyValue<K,V>... elements)Ensures the passed key-value-pairs to be contained as entries in the map.XBasicTable<K,V>putAll(KeyValue<K,V>[] elements, int srcStartIndex, int srcLength)Ensures the passed key-value-pairs to be contained as entries in the map.XBasicTable.Values<K,V>values()Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowedMethods inherited from interface one.microstream.collections.types.XAddGetMap
addGet, ensure, substituteMethods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, nullAddMethods inherited from interface one.microstream.collections.types.XAddingMap
nullKeyAllowed, nullValuesAllowedMethods 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, 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, scanMethods inherited from interface one.microstream.collections.types.XMap
add, get, immure, nullKeyAllowed, nullValuesAllowed, put, putGet, searchValue, set, setGet, valuePut, valuePutGet, valueSet, valueSetGetMethods inherited from interface one.microstream.collections.types.XProcessingCollection
fetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveByMethods inherited from interface one.microstream.collections.types.XProcessingSequence
moveSelection, pick, pop, removeAt, viewMethods inherited from interface one.microstream.collections.types.XRemovingCollection
clear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncateMethods inherited from interface one.microstream.collections.types.XRemovingSequence
removeRange, removeSelection, retainRange
-
Method Details
-
keys
XBasicTable.Keys<K,V> keys() -
values
XBasicTable.Values<K,V> values() -
old
XBasicTable.EntriesBridge<K,V> old()- Specified by:
oldin interfaceXGettingCollection<K>- Specified by:
oldin interfaceXGettingMap<K,V>- Specified by:
oldin interfaceXGettingTable<K,V>- Specified by:
oldin interfaceXMap<K,V>
-
oldMap
XBasicTable.Bridge<K,V> oldMap() -
copy
XBasicTable<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 interfaceXAddGetCollection<K>- Specified by:
copyin interfaceXAddGetSet<K>- Specified by:
copyin interfaceXBasicEnum<K>- Specified by:
copyin interfaceXBasicSequence<K>- Specified by:
copyin interfaceXCollection<K>- 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 interfaceXMap<K,V>- Specified by:
copyin interfaceXProcessingEnum<K>- Specified by:
copyin interfaceXProcessingMap<K,V>- Specified by:
copyin interfaceXProcessingSet<K>- Specified by:
copyin interfaceXPutGetCollection<K>- Specified by:
copyin interfaceXPutGetEnum<K>- Specified by:
copyin interfaceXPutGetSequence<K>- Specified by:
copyin interfaceXPutGetSet<K>- Specified by:
copyin interfaceXSet<K>- Returns:
- a copy of this list
-
hasVolatileValues
boolean hasVolatileValues() -
putAll
Description copied from interface:XMapEnsures the passed key-value-pairs to be contained as entries in the map. A return value indicates a new entry.- Specified by:
putAllin interfaceXBasicEnum<K>- Specified by:
putAllin interfaceXBasicSequence<K>- Specified by:
putAllin interfaceXCollection<K>- Specified by:
putAllin interfaceXMap<K,V>- Specified by:
putAllin interfaceXPutGetCollection<K>- Specified by:
putAllin interfaceXPutGetEnum<K>- Specified by:
putAllin interfaceXPutGetSequence<K>- Specified by:
putAllin interfaceXPutGetSet<K>- Specified by:
putAllin interfaceXPuttingCollection<K>- Specified by:
putAllin interfaceXPuttingEnum<K>- Specified by:
putAllin interfaceXPuttingSequence<K>- Specified by:
putAllin interfaceXPuttingSet<K>- Specified by:
putAllin interfaceXSet<K>- Parameters:
elements- to add- Returns:
- this
-
putAll
Description copied from interface:XMapEnsures the passed key-value-pairs to be contained as entries in the map. Only the elements with indizes from the srcStartIndex to the srcStartIndex+srcLength are put in the collection.
A return value indicates a new entry.- Specified by:
putAllin interfaceXBasicEnum<K>- Specified by:
putAllin interfaceXBasicSequence<K>- Specified by:
putAllin interfaceXCollection<K>- Specified by:
putAllin interfaceXMap<K,V>- Specified by:
putAllin interfaceXPutGetCollection<K>- Specified by:
putAllin interfaceXPutGetEnum<K>- Specified by:
putAllin interfaceXPutGetSequence<K>- Specified by:
putAllin interfaceXPutGetSet<K>- Specified by:
putAllin interfaceXPuttingCollection<K>- Specified by:
putAllin interfaceXPuttingEnum<K>- Specified by:
putAllin interfaceXPuttingSequence<K>- Specified by:
putAllin interfaceXPuttingSet<K>- Specified by:
putAllin interfaceXSet<K>- Parameters:
elements- to addsrcStartIndex- start index of elements-array to add to collectionsrcLength- length of elements-array to add to collection- Returns:
- this
-
putAll
Description copied from interface:XPuttingCollectionAdds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAllin interfaceXBasicEnum<K>- Specified by:
putAllin interfaceXBasicSequence<K>- Specified by:
putAllin interfaceXCollection<K>- Specified by:
putAllin interfaceXPutGetCollection<K>- Specified by:
putAllin interfaceXPutGetEnum<K>- Specified by:
putAllin interfaceXPutGetSequence<K>- Specified by:
putAllin interfaceXPutGetSet<K>- Specified by:
putAllin interfaceXPuttingCollection<K>- Specified by:
putAllin interfaceXPuttingEnum<K>- Specified by:
putAllin interfaceXPuttingSequence<K>- Specified by:
putAllin interfaceXPuttingSet<K>- Specified by:
putAllin interfaceXSet<K>- Parameters:
elements- to add- Returns:
- this
-
addAll
- Specified by:
addAllin interfaceXAddGetCollection<K>- Specified by:
addAllin interfaceXAddGetSet<K>- Specified by:
addAllin interfaceXAddingCollection<K>- Specified by:
addAllin interfaceXAddingEnum<K>- Specified by:
addAllin interfaceXAddingSequence<K>- Specified by:
addAllin interfaceXAddingSet<K>- Specified by:
addAllin interfaceXAddingTable<K,V>- Specified by:
addAllin interfaceXBasicEnum<K>- Specified by:
addAllin interfaceXBasicSequence<K>- Specified by:
addAllin interfaceXCollection<K>- Specified by:
addAllin interfaceXMap<K,V>- Specified by:
addAllin interfaceXPutGetCollection<K>- Specified by:
addAllin interfaceXPutGetEnum<K>- Specified by:
addAllin interfaceXPutGetSequence<K>- Specified by:
addAllin interfaceXPutGetSet<K>- Specified by:
addAllin interfaceXPuttingEnum<K>- Specified by:
addAllin interfaceXPuttingSet<K>- Specified by:
addAllin interfaceXSet<K>
-
addAll
- Specified by:
addAllin interfaceXAddGetCollection<K>- Specified by:
addAllin interfaceXAddGetSet<K>- Specified by:
addAllin interfaceXAddingCollection<K>- Specified by:
addAllin interfaceXAddingEnum<K>- Specified by:
addAllin interfaceXAddingSequence<K>- Specified by:
addAllin interfaceXAddingSet<K>- Specified by:
addAllin interfaceXAddingTable<K,V>- Specified by:
addAllin interfaceXBasicEnum<K>- Specified by:
addAllin interfaceXBasicSequence<K>- Specified by:
addAllin interfaceXCollection<K>- Specified by:
addAllin interfaceXMap<K,V>- Specified by:
addAllin interfaceXPutGetCollection<K>- Specified by:
addAllin interfaceXPutGetEnum<K>- Specified by:
addAllin interfaceXPutGetSequence<K>- Specified by:
addAllin interfaceXPutGetSet<K>- Specified by:
addAllin interfaceXPuttingEnum<K>- Specified by:
addAllin interfaceXPuttingSet<K>- Specified by:
addAllin interfaceXSet<K>
-
addAll
- Specified by:
addAllin interfaceXAddGetCollection<K>- Specified by:
addAllin interfaceXAddGetSet<K>- Specified by:
addAllin interfaceXAddingCollection<K>- Specified by:
addAllin interfaceXAddingEnum<K>- Specified by:
addAllin interfaceXAddingSequence<K>- Specified by:
addAllin interfaceXAddingSet<K>- Specified by:
addAllin interfaceXAddingTable<K,V>- Specified by:
addAllin interfaceXBasicEnum<K>- Specified by:
addAllin interfaceXBasicSequence<K>- Specified by:
addAllin interfaceXCollection<K>- Specified by:
addAllin interfaceXMap<K,V>- Specified by:
addAllin interfaceXPutGetCollection<K>- Specified by:
addAllin interfaceXPutGetEnum<K>- Specified by:
addAllin interfaceXPutGetSequence<K>- Specified by:
addAllin interfaceXPutGetSet<K>- Specified by:
addAllin interfaceXPuttingEnum<K>- Specified by:
addAllin interfaceXPuttingSet<K>- Specified by:
addAllin interfaceXSet<K>
-