public class DataPatterns extends Object
Constructor and Description |
---|
DataPatterns() |
Modifier and Type | Method and Description |
---|---|
static Pattern<Data> |
absent(Pattern<Data> body) |
static <A> Pattern<Data> |
atomic(Class<A> cls,
Pattern<? super A> body) |
static <T> Pattern<Data> |
content(Class<T> types,
Pattern<? super T> type) |
static <T> Pattern<Data> |
content(Class<T> types,
Pattern<? super T> type,
Pattern<? super String> text) |
static Pattern<Data> |
content(Object type) |
static Pattern<Data> |
present(Pattern<Data> body) |
static Pattern<Data> |
tuple(List<? extends Pattern<? super Data>> elems) |
static Pattern<Data> |
tuple(Pattern<? super Data>... elems) |
see also the complete user documentation .