| Package | Description |
|---|---|
| io.prestosql.matching | |
| io.prestosql.matching.pattern |
| Modifier and Type | Method and Description |
|---|---|
static Pattern<Object> |
Pattern.any() |
Pattern<T> |
Pattern.capturedAs(Capture<T> capture) |
Pattern<R> |
PropertyPattern.getPattern() |
Pattern<T> |
Pattern.matching(BiPredicate<? super T,?> predicate) |
Pattern<T> |
Pattern.matching(Predicate<? super T> predicate) |
static <T> Pattern<T> |
Pattern.typeOf(Class<T> expectedClass) |
Pattern<T> |
Pattern.with(PropertyPattern<? super T,?,?> pattern) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Pattern<?>> |
Pattern.previous() |
| Modifier and Type | Method and Description |
|---|---|
<R> PropertyPattern<F,C,R> |
Property.matching(Pattern<R> pattern) |
static <F,C,T,R> PropertyPattern<F,C,R> |
PropertyPattern.of(Property<F,C,T> property,
Pattern<R> pattern) |
default void |
PatternVisitor.visitPrevious(Pattern<?> pattern) |
| Constructor and Description |
|---|
Pattern(Pattern<?> previous) |
| Constructor and Description |
|---|
Pattern(Optional<Pattern<?>> previous) |
| Modifier and Type | Class and Description |
|---|---|
class |
CapturePattern<T> |
class |
EqualsPattern<T> |
class |
FilterPattern<T> |
class |
TypeOfPattern<T> |
class |
WithPattern<T> |
| Modifier and Type | Method and Description |
|---|---|
Pattern<?> |
WithPattern.getPattern() |
| Constructor and Description |
|---|
CapturePattern(Capture<T> capture,
Pattern<T> previous) |
WithPattern(PropertyPattern<? super T,?,?> propertyPattern,
Pattern<T> previous) |
| Constructor and Description |
|---|
EqualsPattern(T expectedValue,
Optional<Pattern<?>> previous) |
FilterPattern(BiPredicate<? super T,?> predicate,
Optional<Pattern<?>> previous) |
TypeOfPattern(Class<T> expectedClass,
Optional<Pattern<?>> previous) |
Copyright © 2012–2020. All rights reserved.