Package com.qfs.dic

Interface IFixedLengthIntegerArrayDictionary

    • Method Detail

      • 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.