Package tech.tablesaw.columns.strings
Class ShortDictionaryMap.ShortDictionaryBuilder
- java.lang.Object
-
- tech.tablesaw.columns.strings.ShortDictionaryMap.ShortDictionaryBuilder
-
- Enclosing class:
- ShortDictionaryMap
public static class ShortDictionaryMap.ShortDictionaryBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description ShortDictionaryBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShortDictionaryMapbuild()ShortDictionaryMap.ShortDictionaryBuildersetCanPromoteToText(boolean canPromoteToText)ShortDictionaryMap.ShortDictionaryBuildersetKeyToCount(it.unimi.dsi.fastutil.shorts.Short2IntOpenHashMap keyToCount)ShortDictionaryMap.ShortDictionaryBuildersetKeyToValue(it.unimi.dsi.fastutil.shorts.Short2ObjectMap<String> keyToValue)ShortDictionaryMap.ShortDictionaryBuildersetNextIndex(int value)ShortDictionaryMap.ShortDictionaryBuildersetValues(short[] data)ShortDictionaryMap.ShortDictionaryBuildersetValueToKey(it.unimi.dsi.fastutil.objects.Object2ShortOpenHashMap<String> valueToKey)
-
-
-
Method Detail
-
setNextIndex
public ShortDictionaryMap.ShortDictionaryBuilder setNextIndex(int value)
-
setKeyToValue
public ShortDictionaryMap.ShortDictionaryBuilder setKeyToValue(it.unimi.dsi.fastutil.shorts.Short2ObjectMap<String> keyToValue)
-
setCanPromoteToText
public ShortDictionaryMap.ShortDictionaryBuilder setCanPromoteToText(boolean canPromoteToText)
-
setValueToKey
public ShortDictionaryMap.ShortDictionaryBuilder setValueToKey(it.unimi.dsi.fastutil.objects.Object2ShortOpenHashMap<String> valueToKey)
-
setKeyToCount
public ShortDictionaryMap.ShortDictionaryBuilder setKeyToCount(it.unimi.dsi.fastutil.shorts.Short2IntOpenHashMap keyToCount)
-
setValues
public ShortDictionaryMap.ShortDictionaryBuilder setValues(short[] data)
-
build
public ShortDictionaryMap build()
-
-