static final class JSONPathSegment.CycleNameSegment extends JSONPathSegment
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
JSONPathSegment.CycleNameSegment.LoopCallback |
(package private) class |
JSONPathSegment.CycleNameSegment.LoopRemove |
(package private) class |
JSONPathSegment.CycleNameSegment.LoopSet |
(package private) class |
JSONPathSegment.CycleNameSegment.MapLoop |
(package private) class |
JSONPathSegment.CycleNameSegment.MapRecursive |
JSONPathSegment.AllSegment, JSONPathSegment.CycleNameSegment, JSONPathSegment.EntrySetSegment, JSONPathSegment.EvalSegment, JSONPathSegment.KeysSegment, JSONPathSegment.LengthSegment, JSONPathSegment.MaxSegment, JSONPathSegment.MinSegment, JSONPathSegment.MultiIndexSegment, JSONPathSegment.MultiNameSegment, JSONPathSegment.RandomIndexSegment, JSONPathSegment.RangeIndexSegment, JSONPathSegment.RootSegment, JSONPathSegment.SelfSegment, JSONPathSegment.SumSegment, JSONPathSegment.ValuesSegment| Modifier and Type | Field and Description |
|---|---|
(package private) static long |
HASH_EMPTY |
(package private) static long |
HASH_STAR |
(package private) java.lang.String |
name |
(package private) long |
nameHashCode |
| Constructor and Description |
|---|
CycleNameSegment(java.lang.String name,
long nameHashCode) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(JSONReader jsonReader,
JSONPath.Context context) |
void |
accept(JSONReader jsonReader,
JSONPath.Context context,
java.util.List<java.lang.Object> values) |
void |
eval(JSONPath.Context context) |
boolean |
remove(JSONPath.Context context) |
void |
set(JSONPath.Context context,
java.lang.Object value) |
void |
setCallback(JSONPath.Context context,
java.util.function.BiFunction callback) |
(package private) boolean |
shouldRecursive() |
java.lang.String |
toString() |
contains, setInt, setLongstatic final long HASH_STAR
static final long HASH_EMPTY
final java.lang.String name
final long nameHashCode
public CycleNameSegment(java.lang.String name,
long nameHashCode)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean remove(JSONPath.Context context)
remove in class JSONPathSegmentpublic void eval(JSONPath.Context context)
eval in class JSONPathSegmentpublic void set(JSONPath.Context context, java.lang.Object value)
set in class JSONPathSegmentpublic void setCallback(JSONPath.Context context, java.util.function.BiFunction callback)
setCallback in class JSONPathSegmentboolean shouldRecursive()
public void accept(JSONReader jsonReader, JSONPath.Context context)
accept in class JSONPathSegmentpublic void accept(JSONReader jsonReader, JSONPath.Context context, java.util.List<java.lang.Object> values)