@Immutable public final class PrefixSymbol extends Prefix
Constructor and Description |
---|
PrefixSymbol(String name,
double value)
Constructs from a name and a numeric value.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object obj)
Compares this prefix against another PrefixSymbol.
|
int |
compareTo(String string)
Compares this prefix against a String.
|
public PrefixSymbol(String name, double value)
name
- The name for the prefix.value
- The numeric value for the prefix.public final int compareTo(Object obj)
compareTo
in interface Comparable<Object>
compareTo
in class Prefix
obj
- The other PrefixSymbol.
obj
, respectively.public final int compareTo(String string)
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.