Package com.qfs.dic
Interface IWritableDictionary.IDoubleDictionary
- All Superinterfaces:
ICompressible,IDictionary<Double>,IMemoryMonitored,IWritableDictionary<Double>,Serializable
- All Known Implementing Classes:
ChristmasDictionaryDouble
- Enclosing interface:
- IWritableDictionary<K>
Specialized dictionary interface for dictionaries of Doubles.
NOTE: Implementations of this interface should implement explicitly IWritableDictionary.mapDouble(double), IDictionary.getDoublePosition(double) and IDictionary.readDouble(int) to
properly work.
- 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 -
Method Summary
Modifier and TypeMethodDescriptiondefault voidcopyInto(int position, IWritableCell cell) Copies the de-dictionarized value at a given position into the provided cell.default intmapFromCell(IReadableCell cell) Maps the value stored by a cell into this dictionary.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.monitoring.memory.IMemoryMonitored
getMemoryStatisticMethods inherited from interface com.qfs.dic.IWritableDictionary
clear, destroy, map, mapDouble, mapFloat, mapInt, mapLong, supportConcurrentWrites
-
Method Details
-
copyInto
Description copied from interface:IDictionaryCopies the de-dictionarized value at a given position into the provided cell.- Specified by:
copyIntoin interfaceIDictionary<Double>- Parameters:
position- dictionarized value to readcell- cell filled with the corresponding value
-
mapFromCell
Description copied from interface:IWritableDictionaryMaps the value stored by a cell into this dictionary.- Specified by:
mapFromCellin interfaceIWritableDictionary<Double>- Parameters:
cell- cell containing the value to map- Returns:
- the dictionary position for the mapped value
-