|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.nxg.unity.UnitRepresentation
public class UnitRepresentation
A description of the way that a unit is represented in a particular syntax.
Method Summary | |
---|---|
String |
getAbbreviation()
Returns a symbolic abbreviation for this unit in this syntax. |
boolean |
hasNext()
If there is more than one representation for this unit in this syntax, then this will return the next one. |
boolean |
isDeprecated()
Indicates whether this syntax deprecates (but still permits) the use of this unit. |
boolean |
mayHaveSIPrefixes()
Indicates whether this unit may be used with SI prefixes. |
UnitRepresentation |
next()
Returns true if hasNext() would succeed. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String toString()
toString
in class Object
public boolean mayHaveSIPrefixes()
public boolean isDeprecated()
public String getAbbreviation()
public boolean hasNext()
public UnitRepresentation next()
hasNext()
would succeed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |