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