Package com.qfs.dic
Interface IFixedLengthIntegerArrayDictionary
-
- All Superinterfaces:
Cloneable,IClone<IIntegerArrayDictionary>,ICompressible,IDictionary<int[]>,IFixedLengthArrayDictionary,IIntegerArrayDictionary,IMemoryMonitored,IPointList,ITable,IUnnamedColumnarTable,IWritableDictionary<int[]>,IWritableIntegerArrayDictionary,Serializable
- All Known Implementing Classes:
AFixedLengthIntegerArrayDictionary,BucketedIntegerArrayDictionary,ColumnarIntegerArrayDictionary,FixedLengthIntegerArrayDictionary,IntegerArrayDictionaryWithHash,TranslatedIntegerArrayDictionary
public interface IFixedLengthIntegerArrayDictionary extends IWritableIntegerArrayDictionary, IFixedLengthArrayDictionary
AIWritableIntegerArrayDictionarythat storesint[]of a specific length.- Author:
- ActiveViam
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.qfs.dic.IWritableDictionary
IWritableDictionary.IDoubleDictionary, IWritableDictionary.IFloatDictionary, IWritableDictionary.IIntegerDictionary, IWritableDictionary.ILongDictionary
-
-
Field Summary
-
Fields inherited from interface com.qfs.dic.IDictionary
DEFAULT_INITIAL_CAPACITY, ID_GENERATOR
-
Fields inherited from interface com.qfs.dic.IWritableIntegerArrayDictionary
NEW_MAPPING, REUSABLE_INPUT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancanReuseInput()Returns whether each integer array mapped into this dictionary is not directly stored without any copying.IFixedLengthIntegerArrayDictionaryclone()This method is very similar to the one used by Object except that it returns the real class.default intreadLength(int pointPosition)Reads the number of coordinates in the point at a given position in this list.-
Methods inherited from interface com.qfs.memory.ICompressible
compress, compress
-
Methods inherited from interface com.qfs.dic.IDictionary
getDictionaryId, getDoublePosition, getFirstElements, getFloatPosition, getIntPosition, getLongPosition, getOrder, getPosition, getSize, getType, isNullable, read, readDouble, readFloat, readInt, readLong, size, supportConcurrentReads
-
Methods inherited from interface com.qfs.dic.IFixedLengthArrayDictionary
getPointLength
-
Methods inherited from interface com.qfs.dic.IIntegerArrayDictionary
copyInto
-
Methods inherited from interface com.qfs.monitoring.memory.IMemoryMonitored
getMemoryStatistic
-
Methods inherited from interface com.qfs.dic.IPointList
equals, equals, equals, equals, getColumn, isNull, read, readBoolean, readCoordinate, readCoordinates, readDouble, readFloat, readHashCode, readInt, readLong, readPoint, size, transferCoordinates, transferCoordinates
-
Methods inherited from interface com.qfs.dic.IWritableDictionary
clear, destroy, map, mapDouble, mapFloat, mapInt, mapLong, supportConcurrentWrites
-
Methods inherited from interface com.qfs.dic.IWritableIntegerArrayDictionary
mapAndHash, mapFromCell, mapWithFlags
-
-
-
-
Method Detail
-
clone
IFixedLengthIntegerArrayDictionary clone()
Description copied from interface:ICloneThis method is very similar to the one used by Object except that it returns the real class.- Specified by:
clonein interfaceIClone<IIntegerArrayDictionary>- Specified by:
clonein interfaceIWritableIntegerArrayDictionary- Returns:
- a clone of the object
-
readLength
default int readLength(int pointPosition)
Description copied from interface:IPointListReads the number of coordinates in the point at a given position in this list.- Specified by:
readLengthin interfaceIPointList- Parameters:
pointPosition- position of the point in the list- Returns:
- the length of the point stored at that position
-
canReuseInput
default boolean canReuseInput()
Returns whether each integer array mapped into this dictionary is not directly stored without any copying.It can therefore be reused by the caller if set to true, false otherwise. Notice that if false is returned,
IWritableIntegerArrayDictionary.mapWithFlags(int[])can still return a re-usable input (e.g. when the key is already mapped).- Returns:
trueif aIWritableDictionary.map(Object)mappedint[]can be reused afterward,falseotherwise.
-
-