public class And<T> extends Object implements Expression<T>
| Modifier and Type | Field and Description |
|---|---|
private Set<Expression<T>> |
terms |
| Constructor and Description |
|---|
And(Collection<Expression<T>> terms) |
And(Expression<T>... expTerms) |
And(Set<String> terms)
Deprecated.
|
And(T... terms) |
| Modifier and Type | Method and Description |
|---|---|
And<T> |
and(Expression<T>... expTerms)
This is for building fluent interfaces.
|
And<T> |
and(T... terms)
This is for building fluent interfaces.
|
boolean |
equals(Object o) |
boolean |
eval(Set<T> received) |
String |
getName() |
String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlogprivate Set<Expression<T>> terms
public And(Collection<Expression<T>> terms)
@Deprecated public And(Set<String> terms)
@SafeVarargs public And(Expression<T>... expTerms)
@SafeVarargs public And(T... terms)
@SafeVarargs public final And<T> and(T... terms)
terms - list of termspublic final And<T> and(Expression<T>... expTerms)
expTerms - list of expTermspublic boolean eval(Set<T> received)
eval in interface Expression<T>public String getName()
getName in interface Expression<T>