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).
|
getName
protected final Unit unit
public int compareTo(Object obj) throws ClassCastException
compareTo
in interface Comparable
compareTo
in class QuantityDBImpl.NameKey
ClassCastException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.