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 boolean
getBool
(boolean reverse, int edgeId, EdgeIntAccess edgeIntAccess) final void
setBool
(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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.graphhopper.routing.ev.EncodedValue
getName, init
-
Constructor Details
-
SimpleBooleanEncodedValue
-
SimpleBooleanEncodedValue
-
-
Method Details
-
setBool
- Specified by:
setBool
in interfaceBooleanEncodedValue
-
getBool
- Specified by:
getBool
in interfaceBooleanEncodedValue
-