public class Expressions extends Object
Expression
s and Argument
s.Modifier | Constructor and Description |
---|---|
private |
Expressions()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static Expression |
and(Expression... expressions) |
static Expression |
combine(Conjunction conjunction,
Expression... expressions) |
static Expression |
or(Expression... expressions) |
public static Expression or(Expression... expressions)
expressions
- the Expression
s to combine(Conjunction, Expression...)
using
Conjunction.OR
.Expression
that evaluates
to true
if any of the given
Expression
s does.public static Expression and(Expression... expressions)
expressions
- the Expression
s to combine(Conjunction, Expression...)
using
Conjunction.AND
.Expression
that evaluates
to true
if all of the given
Expression
s do.public static Expression combine(Conjunction conjunction, Expression... expressions)
conjunction
- the Conjunction
used to combine the given Expression
s.expressions
- the Expression
s to combine using the given Conjunction
.Expression
that combines the given Expression
s with the given Conjunction
.Conjunction.eval(boolean...)
Copyright © 2001–2016 mmm-Team. All rights reserved.