Uses of Interface
jsonvalues.Position
-
-
Uses of Position in jsonvalues
Classes in jsonvalues that implement Position Modifier and Type Class Description class
Index
Represents the index of a JsElem in a JsArray.class
Key
Represents the Key of a JsElem in a JsObj.Methods in jsonvalues that return Position Modifier and Type Method Description Position
JsPath. head()
Returns the head of this path if it's not empty, throwing an exception otherwise.Position
JsPath. last()
returns the last positionthis
JsPath if it's not empty or a exception otherwise.Methods in jsonvalues that return types with arguments of type Position Modifier and Type Method Description Stream<Position>
JsPath. stream()
Returns a sequentialStream
of Positions with this path as its source.Methods in jsonvalues with parameters of type Position Modifier and Type Method Description int
Index. compareTo(Position o)
Compares this index with another given position.int
Key. compareTo(Position o)
compares this key with another given position.int
Position. compareTo(Position o)
JsElem
Json. get(Position position)
Returns the element located at the key or index specified by the given position orJsNothing
if it doesn't exist.
-