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 BooleanEncodedValue
public boolean getBool(boolean reverse, int edgeId, EdgeIntAccess edgeIntAccess)
getBool
in interface BooleanEncodedValue
public int init(EncodedValue.InitializerConfig init)
EncodedValue
init
in interface EncodedValue
EncodedValue.InitializerConfig.next(int)
public String getName()
EncodedValue
getName
in interface EncodedValue
public boolean isStoreTwoDirections()
isStoreTwoDirections
in interface EncodedValue
Copyright © 2012–2023. All rights reserved.