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 ShortDictionaryMap
build()
ShortDictionaryMap.ShortDictionaryBuilder
setCanPromoteToText(boolean canPromoteToText)
ShortDictionaryMap.ShortDictionaryBuilder
setKeyToCount(it.unimi.dsi.fastutil.shorts.Short2IntOpenHashMap keyToCount)
ShortDictionaryMap.ShortDictionaryBuilder
setKeyToValue(it.unimi.dsi.fastutil.shorts.Short2ObjectMap<String> keyToValue)
ShortDictionaryMap.ShortDictionaryBuilder
setNextIndex(int value)
ShortDictionaryMap.ShortDictionaryBuilder
setValues(short[] data)
ShortDictionaryMap.ShortDictionaryBuilder
setValueToKey(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()
-
-