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
A
IWritableIntegerArrayDictionary that stores int[] 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_GENERATORFields inherited from interface com.qfs.dic.IWritableIntegerArrayDictionary
NEW_MAPPING, REUSABLE_INPUT -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanReturns whether each integer array mapped into this dictionary is not directly stored without any copying.clone()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, compressMethods inherited from interface com.qfs.dic.IDictionary
getDictionaryId, getDoublePosition, getFirstElements, getFloatPosition, getIntPosition, getLongPosition, getOrder, getPosition, getSize, getType, isNullable, read, readDouble, readFloat, readInt, readLong, size, supportConcurrentReadsMethods inherited from interface com.qfs.dic.IFixedLengthArrayDictionary
getPointLengthMethods inherited from interface com.qfs.dic.IIntegerArrayDictionary
copyIntoMethods inherited from interface com.qfs.monitoring.memory.IMemoryMonitored
getMemoryStatisticMethods 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, transferCoordinatesMethods inherited from interface com.qfs.dic.IWritableDictionary
clear, destroy, map, mapDouble, mapFloat, mapInt, mapLong, supportConcurrentWritesMethods inherited from interface com.qfs.dic.IWritableIntegerArrayDictionary
mapAndHash, mapFromCell, mapWithFlags
-
Method Details
-
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.
-