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,
int edgeId,
EdgeIntAccess edgeIntAccess) |
List<String> |
getValues() |
int |
indexOf(String value) |
void |
setString(boolean reverse,
int edgeId,
EdgeIntAccess edgeIntAccess,
String value) |
getInt, getMaxOrMaxStorableInt, getMaxStorableInt, getMinStorableInt, getName, init, isStoreTwoDirections, setInt, toString
public StringEncodedValue(String name, int expectedValueCount)
public StringEncodedValue(String name, int expectedValueCount, boolean storeTwoDirections)
public final void setString(boolean reverse, int edgeId, EdgeIntAccess edgeIntAccess, String value)
public final String getString(boolean reverse, int edgeId, EdgeIntAccess edgeIntAccess)
public int indexOf(String value)
value
- the String to retrieve the indexCopyright © 2012–2023. All rights reserved.