static final class JSONPathSegment.MultiNameSegment 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) long[] |
nameHashCodes |
(package private) java.lang.String[] |
names |
(package private) java.util.Set<java.lang.String> |
nameSet |
| Constructor and Description |
|---|
MultiNameSegment(java.lang.String[] names) |
| 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, setLongfinal java.lang.String[] names
final long[] nameHashCodes
final java.util.Set<java.lang.String> nameSet
public void eval(JSONPath.Context context)
eval in class JSONPathSegmentpublic void accept(JSONReader jsonReader, JSONPath.Context context)
accept 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 boolean remove(JSONPath.Context context)
remove in class JSONPathSegment