Package com.graphhopper.routing.ev
Class SimpleBooleanEncodedValue
java.lang.Object
com.graphhopper.routing.ev.IntEncodedValueImpl
com.graphhopper.routing.ev.SimpleBooleanEncodedValue
- All Implemented Interfaces:
BooleanEncodedValue,EncodedValue,IntEncodedValue
public final class SimpleBooleanEncodedValue
extends IntEncodedValueImpl
implements BooleanEncodedValue
This class implements a simple boolean storage via an UnsignedIntEncodedValue with 1 bit.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.graphhopper.routing.ev.EncodedValue
EncodedValue.InitializerConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleangetBool(boolean reverse, int edgeId, EdgeIntAccess edgeIntAccess) final voidsetBool(boolean reverse, int edgeId, EdgeIntAccess edgeIntAccess, boolean value) Methods inherited from class com.graphhopper.routing.ev.IntEncodedValueImpl
getInt, getMaxOrMaxStorableInt, getMaxStorableInt, getMinStorableInt, getName, init, isStoreTwoDirections, setInt, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.graphhopper.routing.ev.EncodedValue
getName, init
-
Constructor Details
-
SimpleBooleanEncodedValue
-
SimpleBooleanEncodedValue
-
-
Method Details
-
setBool
- Specified by:
setBoolin interfaceBooleanEncodedValue
-
getBool
- Specified by:
getBoolin interfaceBooleanEncodedValue
-