public class JsonPattern extends Object
Constructor and Description |
---|
JsonPattern()
Creates an empty JsonPattern.
|
JsonPattern(JsonPattern other)
Creates a deep copy of a JsonPattern
|
JsonPattern(List<Integer> list) |
Modifier and Type | Method and Description |
---|---|
void |
add(int patternItem) |
void |
add(JsonPattern other) |
void |
addAny()
Marks this pattern as having "any" keyword.
|
int |
depth()
Returns the depth of this pattern.
|
boolean |
equals(Object o) |
int |
get(int index) |
boolean |
hasAny()
Checks if this pattern has "any" keyword.
|
int |
hashCode() |
String |
toString() |
public JsonPattern()
public JsonPattern(JsonPattern other)
other
- public int get(int index)
public void add(int patternItem)
public void addAny()
hasAny()
public void add(JsonPattern other)
public boolean hasAny()
true
if this pattern has "any"public int depth()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.