public interface CqnNumericLiteral<N extends Number> extends CqnLiteral<N>
Modifier and Type | Method and Description |
---|---|
default void |
accept(CqnVisitor visitor) |
default boolean |
isNumeric()
Returns
true if this is a CqnNumericLiteral . |
N |
value()
Returns the literal value.
|
asBoolean, asLiteral, asNumber, asString, asTemporal, isBoolean, isConstant, isLiteral, isString, isTemporal
as, asExpression, asFunction, asList, asNullValue, asParameter, asPlain, asRef, isExpression, isFunction, isList, isNullValue, isParameter, isPlain, isRef, type
toJson
N value()
CqnLiteral
value
in interface CqnLiteral<N extends Number>
default void accept(CqnVisitor visitor)
default boolean isNumeric()
CqnLiteral
true
if this is a CqnNumericLiteral
.isNumeric
in interface CqnLiteral<N extends Number>
true
if this is a numeric literal, otherwise false
Copyright © 2021 SAP. All rights reserved.