public final class StringEncodedValue extends IntEncodedValueImpl
maxValues encountered Strings and stores
 index+1 to indicate a string is set or 0 if no value is assignedEncodedValue.InitializerConfig| Constructor and Description | 
|---|
StringEncodedValue(String name,
                  int expectedValueCount)  | 
StringEncodedValue(String name,
                  int expectedValueCount,
                  boolean storeTwoDirections)  | 
StringEncodedValue(String name,
                  int bits,
                  List<String> values,
                  boolean storeTwoDirections)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getString(boolean reverse,
         IntsRef ref)  | 
List<String> | 
getValues()  | 
int | 
indexOf(String value)  | 
void | 
setString(boolean reverse,
         IntsRef ref,
         String value)  | 
getInt, getMaxOrMaxStorableInt, getMaxStorableInt, getMinStorableInt, getName, init, isStoreTwoDirections, setInt, toStringpublic StringEncodedValue(String name, int expectedValueCount)
public StringEncodedValue(String name, int expectedValueCount, boolean storeTwoDirections)
public int indexOf(String value)
value - the String to retrieve the indexCopyright © 2012–2022. All rights reserved.