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 interface
XBasicTable.Bridge<K,V>
static interface
XBasicTable.EntriesBridge<K,V>
static interface
XBasicTable.Keys<K,V>
static interface
XBasicTable.Satellite<K,V>
static interface
XBasicTable.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.boolean
hasVolatileValues()
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, remainingCapacity
Methods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacity
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowed
Methods inherited from interface one.microstream.collections.types.XAddGetMap
addGet, ensure, substitute
Methods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, nullAdd
Methods inherited from interface one.microstream.collections.types.XAddingMap
nullKeyAllowed, nullValuesAllowed
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, 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
Methods inherited from interface one.microstream.collections.types.XMap
add, get, immure, nullKeyAllowed, nullValuesAllowed, put, putGet, searchValue, set, setGet, valuePut, valuePutGet, valueSet, valueSetGet
Methods inherited from interface one.microstream.collections.types.XProcessingCollection
fetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveBy
Methods inherited from interface one.microstream.collections.types.XProcessingSequence
moveSelection, pick, pop, removeAt, view
Methods inherited from interface one.microstream.collections.types.XRemovingCollection
clear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncate
Methods 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:
old
in interfaceXGettingCollection<K>
- Specified by:
old
in interfaceXGettingMap<K,V>
- Specified by:
old
in interfaceXGettingTable<K,V>
- Specified by:
old
in interfaceXMap<K,V>
-
oldMap
XBasicTable.Bridge<K,V> oldMap() -
copy
XBasicTable<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 interfaceXAddGetCollection<K>
- Specified by:
copy
in interfaceXAddGetSet<K>
- Specified by:
copy
in interfaceXBasicEnum<K>
- Specified by:
copy
in interfaceXBasicSequence<K>
- Specified by:
copy
in interfaceXCollection<K>
- 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 interfaceXMap<K,V>
- Specified by:
copy
in interfaceXProcessingEnum<K>
- Specified by:
copy
in interfaceXProcessingMap<K,V>
- Specified by:
copy
in interfaceXProcessingSet<K>
- Specified by:
copy
in interfaceXPutGetCollection<K>
- Specified by:
copy
in interfaceXPutGetEnum<K>
- Specified by:
copy
in interfaceXPutGetSequence<K>
- Specified by:
copy
in interfaceXPutGetSet<K>
- Specified by:
copy
in interfaceXSet<K>
- Returns:
- a copy of this list
-
hasVolatileValues
boolean hasVolatileValues() -
putAll
Description copied from interface:XMap
Ensures the passed key-value-pairs to be contained as entries in the map. A return value indicates a new entry.- Specified by:
putAll
in interfaceXBasicEnum<K>
- Specified by:
putAll
in interfaceXBasicSequence<K>
- Specified by:
putAll
in interfaceXCollection<K>
- Specified by:
putAll
in interfaceXMap<K,V>
- Specified by:
putAll
in interfaceXPutGetCollection<K>
- Specified by:
putAll
in interfaceXPutGetEnum<K>
- Specified by:
putAll
in interfaceXPutGetSequence<K>
- Specified by:
putAll
in interfaceXPutGetSet<K>
- Specified by:
putAll
in interfaceXPuttingCollection<K>
- Specified by:
putAll
in interfaceXPuttingEnum<K>
- Specified by:
putAll
in interfaceXPuttingSequence<K>
- Specified by:
putAll
in interfaceXPuttingSet<K>
- Specified by:
putAll
in interfaceXSet<K>
- Parameters:
elements
- to add- Returns:
- this
-
putAll
Description copied from interface:XMap
Ensures 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:
putAll
in interfaceXBasicEnum<K>
- Specified by:
putAll
in interfaceXBasicSequence<K>
- Specified by:
putAll
in interfaceXCollection<K>
- Specified by:
putAll
in interfaceXMap<K,V>
- Specified by:
putAll
in interfaceXPutGetCollection<K>
- Specified by:
putAll
in interfaceXPutGetEnum<K>
- Specified by:
putAll
in interfaceXPutGetSequence<K>
- Specified by:
putAll
in interfaceXPutGetSet<K>
- Specified by:
putAll
in interfaceXPuttingCollection<K>
- Specified by:
putAll
in interfaceXPuttingEnum<K>
- Specified by:
putAll
in interfaceXPuttingSequence<K>
- Specified by:
putAll
in interfaceXPuttingSet<K>
- Specified by:
putAll
in 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:XPuttingCollection
Adds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAll
in interfaceXBasicEnum<K>
- Specified by:
putAll
in interfaceXBasicSequence<K>
- Specified by:
putAll
in interfaceXCollection<K>
- Specified by:
putAll
in interfaceXPutGetCollection<K>
- Specified by:
putAll
in interfaceXPutGetEnum<K>
- Specified by:
putAll
in interfaceXPutGetSequence<K>
- Specified by:
putAll
in interfaceXPutGetSet<K>
- Specified by:
putAll
in interfaceXPuttingCollection<K>
- Specified by:
putAll
in interfaceXPuttingEnum<K>
- Specified by:
putAll
in interfaceXPuttingSequence<K>
- Specified by:
putAll
in interfaceXPuttingSet<K>
- Specified by:
putAll
in interfaceXSet<K>
- Parameters:
elements
- to add- Returns:
- this
-
addAll
- Specified by:
addAll
in interfaceXAddGetCollection<K>
- Specified by:
addAll
in interfaceXAddGetSet<K>
- Specified by:
addAll
in interfaceXAddingCollection<K>
- Specified by:
addAll
in interfaceXAddingEnum<K>
- Specified by:
addAll
in interfaceXAddingSequence<K>
- Specified by:
addAll
in interfaceXAddingSet<K>
- Specified by:
addAll
in interfaceXAddingTable<K,V>
- Specified by:
addAll
in interfaceXBasicEnum<K>
- Specified by:
addAll
in interfaceXBasicSequence<K>
- Specified by:
addAll
in interfaceXCollection<K>
- Specified by:
addAll
in interfaceXMap<K,V>
- Specified by:
addAll
in interfaceXPutGetCollection<K>
- Specified by:
addAll
in interfaceXPutGetEnum<K>
- Specified by:
addAll
in interfaceXPutGetSequence<K>
- Specified by:
addAll
in interfaceXPutGetSet<K>
- Specified by:
addAll
in interfaceXPuttingEnum<K>
- Specified by:
addAll
in interfaceXPuttingSet<K>
- Specified by:
addAll
in interfaceXSet<K>
-
addAll
- Specified by:
addAll
in interfaceXAddGetCollection<K>
- Specified by:
addAll
in interfaceXAddGetSet<K>
- Specified by:
addAll
in interfaceXAddingCollection<K>
- Specified by:
addAll
in interfaceXAddingEnum<K>
- Specified by:
addAll
in interfaceXAddingSequence<K>
- Specified by:
addAll
in interfaceXAddingSet<K>
- Specified by:
addAll
in interfaceXAddingTable<K,V>
- Specified by:
addAll
in interfaceXBasicEnum<K>
- Specified by:
addAll
in interfaceXBasicSequence<K>
- Specified by:
addAll
in interfaceXCollection<K>
- Specified by:
addAll
in interfaceXMap<K,V>
- Specified by:
addAll
in interfaceXPutGetCollection<K>
- Specified by:
addAll
in interfaceXPutGetEnum<K>
- Specified by:
addAll
in interfaceXPutGetSequence<K>
- Specified by:
addAll
in interfaceXPutGetSet<K>
- Specified by:
addAll
in interfaceXPuttingEnum<K>
- Specified by:
addAll
in interfaceXPuttingSet<K>
- Specified by:
addAll
in interfaceXSet<K>
-
addAll
- Specified by:
addAll
in interfaceXAddGetCollection<K>
- Specified by:
addAll
in interfaceXAddGetSet<K>
- Specified by:
addAll
in interfaceXAddingCollection<K>
- Specified by:
addAll
in interfaceXAddingEnum<K>
- Specified by:
addAll
in interfaceXAddingSequence<K>
- Specified by:
addAll
in interfaceXAddingSet<K>
- Specified by:
addAll
in interfaceXAddingTable<K,V>
- Specified by:
addAll
in interfaceXBasicEnum<K>
- Specified by:
addAll
in interfaceXBasicSequence<K>
- Specified by:
addAll
in interfaceXCollection<K>
- Specified by:
addAll
in interfaceXMap<K,V>
- Specified by:
addAll
in interfaceXPutGetCollection<K>
- Specified by:
addAll
in interfaceXPutGetEnum<K>
- Specified by:
addAll
in interfaceXPutGetSequence<K>
- Specified by:
addAll
in interfaceXPutGetSet<K>
- Specified by:
addAll
in interfaceXPuttingEnum<K>
- Specified by:
addAll
in interfaceXPuttingSet<K>
- Specified by:
addAll
in interfaceXSet<K>
-