protected static final class QuantityDBImpl.UnitKey extends QuantityDBImpl.NameKey
| Modifier and Type | Field and Description |
|---|---|
protected Unit |
unit
The default unit of the quantity.
|
| Modifier | Constructor and Description |
|---|---|
protected |
UnitKey(Unit unit,
String name)
Constructs from the unit of a quantity and its name.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj)
Compare this key to another (unit first).
|
getNameprotected final Unit unit
public int compareTo(Object obj) throws ClassCastException
compareTo in interface ComparablecompareTo in class QuantityDBImpl.NameKeyClassCastExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.