|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVariableOrConstant<E>
Abstraction models either a constant or an unbound variable.
| Method Summary | |
|---|---|
boolean |
equals(IVariableOrConstant<E> o)
Return true if this is the same variable or if both values
are Constant whose values are the same. |
E |
get()
Return the bound value. |
String |
getName()
Return the name of a variable. |
boolean |
isConstant()
Return true iff this is a constant. |
boolean |
isVar()
Return true iff this is a variable. |
| Method Detail |
|---|
boolean isVar()
true iff this is a variable.
boolean isConstant()
true iff this is a constant.
boolean equals(IVariableOrConstant<E> o)
true if this is the same variable or if both values
are Constant whose values are the same.
E get()
UnsupportedOperationException - if this is a variable.String getName()
UnsupportedOperationException - if this is not a variable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||