public interface IntEncodedValue extends EncodedValue
IntEncodedValueImpl
EncodedValue.InitializerConfig
Modifier and Type | Method and Description |
---|---|
int |
getInt(boolean reverse,
int edgeId,
EdgeIntAccess edgeIntAccess)
This method restores the integer value from the specified 'flags' taken from the storage.
|
int |
getMaxOrMaxStorableInt()
Returns the maximum value set using this encoded value or the physical storage limit if no value has been set
at all yet.
|
int |
getMaxStorableInt()
The maximum int value this EncodedValue accepts for setInt without throwing an exception.
|
int |
getMinStorableInt()
The minimum int value this EncodedValue accepts for setInt without throwing an exception.
|
boolean |
isStoreTwoDirections() |
void |
setInt(boolean reverse,
int edgeId,
EdgeIntAccess edgeIntAccess,
int value)
This method stores the specified integer value in the specified IntsRef.
|
getName, init
int getInt(boolean reverse, int edgeId, EdgeIntAccess edgeIntAccess)
void setInt(boolean reverse, int edgeId, EdgeIntAccess edgeIntAccess, int value)
int getMaxStorableInt()
int getMinStorableInt()
int getMaxOrMaxStorableInt()
boolean isStoreTwoDirections()
isStoreTwoDirections
in interface EncodedValue
Copyright © 2012–2023. All rights reserved.