public class IrBoolVar extends IrIntVar implements IrBoolExpr, IrVar
Modifier and Type | Method and Description |
---|---|
<A,B> B |
accept(IrBoolExprVisitor<A,B> visitor,
A a)
Dynamic dispatch on the visitor.
|
<A,B> B |
accept(IrIntExprVisitor<A,B> visitor,
A a)
Dynamic dispatch on the visitor.
|
IrBoolDomain |
getDomain()
Domain cannot be empty.
|
boolean |
isNegative()
Is the expression in negative form.
|
IrBoolExpr |
negate()
The negated expression is true if and only if this expression is false.
|
public IrBoolDomain getDomain()
IrAbstractInt
getDomain
in interface IrBoolExpr
getDomain
in interface IrIntExpr
getDomain
in class IrAbstractInt
public IrBoolExpr negate()
IrBoolExpr
negate
in interface IrBoolExpr
public boolean isNegative()
IrBoolExpr
isNegative
in interface IrBoolExpr
public <A,B> B accept(IrBoolExprVisitor<A,B> visitor, A a)
IrBoolExpr
accept
in interface IrBoolExpr
A
- the parameter typeB
- the return typevisitor
- the visitora
- the parameterpublic <A,B> B accept(IrIntExprVisitor<A,B> visitor, A a)
IrIntExpr
Copyright © 2013. All Rights Reserved.