Package com.qfs.dic

Interface IWritableDictionary.ILongDictionary

All Superinterfaces:
ICompressible, IDictionary<Long>, IMemoryMonitored, IWritableDictionary<Long>, Serializable
All Known Implementing Classes:
ChristmasDictionaryLong, LongDictionary, PackedIntDictionary
Enclosing interface:
IWritableDictionary<K>

public static interface IWritableDictionary.ILongDictionary extends IWritableDictionary<Long>
Specialized dictionary interface for dictionaries of Longs.

NOTE: Implementations of this interface should implement explicitly IWritableDictionary.mapLong(long), IDictionary.getLongPosition(long) and IDictionary.readLong(int) to properly work.

Author:
ActiveViam
  • Method Details

    • copyInto

      default void copyInto(int position, IWritableCell cell)
      Description copied from interface: IDictionary
      Copies the de-dictionarized value at a given position into the provided cell.
      Specified by:
      copyInto in interface IDictionary<Long>
      Parameters:
      position - dictionarized value to read
      cell - cell filled with the corresponding value
    • mapFromCell

      default int mapFromCell(IReadableCell cell)
      Description copied from interface: IWritableDictionary
      Maps the value stored by a cell into this dictionary.
      Specified by:
      mapFromCell in interface IWritableDictionary<Long>
      Parameters:
      cell - cell containing the value to map
      Returns:
      the dictionary position for the mapped value