public class ExternalBooleanEncodedValue extends Object implements BooleanEncodedValue
EncodedValue.InitializerConfig| Constructor and Description |
|---|
ExternalBooleanEncodedValue(String name,
boolean storeTwoDirections) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBool(boolean reverse,
int edgeId,
EdgeIntAccess edgeIntAccess) |
String |
getName()
This method returns the hierarchical name like vehicle.type of this EncodedValue
|
int |
init(EncodedValue.InitializerConfig init)
This method sets the dataIndex and shift of this EncodedValue object and potentially changes the submitted init
object afterwards via calling next
|
boolean |
isStoreTwoDirections() |
void |
setBool(boolean reverse,
int edgeId,
EdgeIntAccess edgeIntAccess,
boolean value) |
public ExternalBooleanEncodedValue(String name, boolean storeTwoDirections)
public void setBool(boolean reverse,
int edgeId,
EdgeIntAccess edgeIntAccess,
boolean value)
setBool in interface BooleanEncodedValuepublic boolean getBool(boolean reverse,
int edgeId,
EdgeIntAccess edgeIntAccess)
getBool in interface BooleanEncodedValuepublic int init(EncodedValue.InitializerConfig init)
EncodedValueinit in interface EncodedValueEncodedValue.InitializerConfig.next(int)public String getName()
EncodedValuegetName in interface EncodedValuepublic boolean isStoreTwoDirections()
isStoreTwoDirections in interface EncodedValueCopyright © 2012–2023. All rights reserved.