public class MatchSet<T> extends Object implements JsonPrintable
| Modifier | Constructor and Description |
|---|---|
protected |
MatchSet(Comparator<T> comparator,
JsonPrinter<T> printer) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T t) |
void |
includeAll() |
boolean |
isEmpty() |
boolean |
matchesAll() |
void |
printJson(JsonWriter writer) |
static <T> MatchSet<T> |
union(MatchSet<T> a,
MatchSet<T> b) |
protected MatchSet(Comparator<T> comparator, JsonPrinter<T> printer)
public void includeAll()
public void add(T t)
public boolean matchesAll()
public boolean isEmpty()
public void printJson(JsonWriter writer) throws IOException
printJson in interface JsonPrintableIOException