Package com.qfs.dic
Interface IWritableDictionary.IFloatDictionary
-
- All Superinterfaces:
ICompressible,IDictionary<Float>,IMemoryMonitored,IWritableDictionary<Float>,Serializable
- All Known Implementing Classes:
ChristmasDictionaryFloat
- Enclosing interface:
- IWritableDictionary<K>
public static interface IWritableDictionary.IFloatDictionary extends IWritableDictionary<Float>
Specialized dictionary interface for dictionaries of Floats.NOTE: Implementations of this interface should implement explicitly
IWritableDictionary.mapFloat(float),IDictionary.getFloatPosition(float)andIDictionary.readFloat(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
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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, compress
-
Methods inherited from interface com.qfs.dic.IDictionary
getDictionaryId, getDoublePosition, getFirstElements, getFloatPosition, getIntPosition, getLongPosition, getOrder, getPosition, getSize, getType, isNullable, read, readDouble, readFloat, readInt, readLong, size, supportConcurrentReads
-
Methods inherited from interface com.qfs.monitoring.memory.IMemoryMonitored
getMemoryStatistic
-
Methods inherited from interface com.qfs.dic.IWritableDictionary
clear, destroy, map, mapDouble, mapFloat, mapInt, mapLong, supportConcurrentWrites
-
-
-
-
Method Detail
-
copyInto
default void copyInto(int position, IWritableCell cell)Description copied from interface:IDictionaryCopies the de-dictionarized value at a given position into the provided cell.- Specified by:
copyIntoin interfaceIDictionary<Float>- Parameters:
position- dictionarized value to readcell- cell filled with the corresponding value
-
mapFromCell
default int mapFromCell(IReadableCell cell)
Description copied from interface:IWritableDictionaryMaps the value stored by a cell into this dictionary.- Specified by:
mapFromCellin interfaceIWritableDictionary<Float>- Parameters:
cell- cell containing the value to map- Returns:
- the dictionary position for the mapped value
-
-