public class NumericLiteralImpl<R extends Comparable<R>> extends Object implements NumericLiteral<R>
| Constructor and Description |
|---|
NumericLiteralImpl(NumericDatatype<R> type,
String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DLExpressionVisitor visitor)
accept method for the visitor pattern
|
<O> O |
accept(DLExpressionVisitorEx<O> visitor) |
int |
compareTo(Literal<T> arg0) |
boolean |
equals(Object obj) |
Datatype<T> |
getDatatypeExpression() |
int |
hashCode() |
String |
toString() |
T |
typedValue() |
String |
value() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDatatypeExpression, typedValue, valueaccept, acceptcompareTopublic NumericLiteralImpl(NumericDatatype<R> type, String value)
public Datatype<T> getDatatypeExpression()
getDatatypeExpression in interface Literal<T extends Comparable<T>>public String value()
value in interface Literal<T extends Comparable<T>>public T typedValue()
typedValue in interface Literal<T extends Comparable<T>>public void accept(DLExpressionVisitor visitor)
Expressionaccept in interface Expressionpublic <O> O accept(DLExpressionVisitorEx<O> visitor)
accept in interface Expressionpublic int compareTo(Literal<T> arg0)
compareTo in interface Comparable<Literal<T extends Comparable<T>>>Copyright © 2013 The University of Manchester. All Rights Reserved.