org.jrdf.query.expression
Class Optional<V extends ExpressionVisitor>
java.lang.Object
org.jrdf.query.expression.Optional<V>
- All Implemented Interfaces:
- Serializable, Expression<V>
public final class Optional<V extends ExpressionVisitor>
- extends Object
- implements Expression<V>, Serializable
- See Also:
- Serialized Form
Optional
public Optional(Expression<V> lhs,
Expression<V> rhs)
Optional
public Optional(Expression<V> rhs)
setLhs
public void setLhs(Expression<V> lhs)
getLhs
public Expression<V> getLhs()
getRhs
public Expression<V> getRhs()
accept
public void accept(V v)
- Specified by:
accept
in interface Expression<V extends ExpressionVisitor>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object