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
  • Method Details

    • clone

      Description copied from interface: IClone
      This method is very similar to the one used by Object except that it returns the real class.
      Specified by:
      clone in interface IClone<IIntegerArrayDictionary>
      Specified by:
      clone in interface IWritableIntegerArrayDictionary
      Returns:
      a clone of the object
    • readLength

      default int readLength(int pointPosition)
      Description copied from interface: IPointList
      Reads the number of coordinates in the point at a given position in this list.
      Specified by:
      readLength in interface IPointList
      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:
      true if a IWritableDictionary.map(Object) mapped int[] can be reused afterward, false otherwise.