static final class JSONPathSegment.AllSegment extends JSONPathSegment
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) boolean |
array |
(package private) static JSONPathSegment.AllSegment |
INSTANCE |
(package private) static JSONPathSegment.AllSegment |
INSTANCE_ARRAY |
| Constructor and Description |
|---|
AllSegment(boolean array) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(JSONReader jsonReader,
JSONPath.Context context) |
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) |
contains, setInt, setLongstatic final JSONPathSegment.AllSegment INSTANCE
static final JSONPathSegment.AllSegment INSTANCE_ARRAY
final boolean array
public void eval(JSONPath.Context context)
eval in class JSONPathSegmentpublic boolean remove(JSONPath.Context context)
remove 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 JSONPathSegmentpublic void accept(JSONReader jsonReader, JSONPath.Context context)
accept in class JSONPathSegment