|
||||||||
| 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 |
mayHaveBinaryPrefixes()
Indicates whether this unit may be used with binary prefixes. |
boolean |
mayHaveSIPrefixes()
Indicates whether this unit may be used with SI prefixes. |
UnitRepresentation |
next()
Returns true if hasNext() would succeed. |
void |
remove()
|
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 Objectpublic boolean mayHaveSIPrefixes()
public boolean mayHaveBinaryPrefixes()
public boolean isDeprecated()
public String getAbbreviation()
public boolean hasNext()
hasNext in interface Iterator<UnitRepresentation>public UnitRepresentation next()
hasNext() would succeed.
next in interface Iterator<UnitRepresentation>public void remove()
remove in interface Iterator<UnitRepresentation>
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||