public class TermNumericImpl<T> extends TermImpl<T> implements TermNumeric<T>
TermNumeric.UnitTerm.Operator| Modifier and Type | Field and Description |
|---|---|
protected TermNumeric.Unit |
unit |
| Constructor and Description |
|---|
TermNumericImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TermNumeric.Unit |
getUnit()
Returns unit of type or
null if not defined
for numeric types that does not allow units |
int |
hashCode() |
TermNumeric<T> |
setUnit(TermNumeric.Unit unit)
Sets unit
|
String |
toString() |
getOperator, getValue, setOperator, setValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOperator, getValue, setOperator, setValueprotected TermNumeric.Unit unit
public TermNumeric.Unit getUnit()
TermNumericnull if not defined
for numeric types that does not allow unitsgetUnit in interface TermNumeric<T>public TermNumeric<T> setUnit(TermNumeric.Unit unit)
TermNumericsetUnit in interface TermNumeric<T>unit - the unit to setCopyright © 2014. All rights reserved.