T
- the type of the constant valuepublic abstract class Val<T> extends Object implements Op<T>
Const
and EphemeralConst
.Const
,
EphemeralConst
Modifier and Type | Method and Description |
---|---|
T |
apply(T[] value)
The apply method will always returns the
value() . |
int |
arity()
The arity of
Val objects is always zero. |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
name()
Return the name of the operation.
|
abstract T |
value()
Return the constant value.
|
© 2007-2019 Franz Wilhelmstötter (2019-11-18 20:30)