Package org.geotools.measure
Class PrefixDefinition
- Object
-
- PrefixDefinition
-
public final class PrefixDefinition extends Object
This class contains a unit prefix and allows the definition of additional aliases for this unit prefix.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
MetricPrefix
getPrefix()
List<String>
getPrefixAliases()
int
hashCode()
static PrefixDefinition
of(MetricPrefix prefix, String... prefixAlias)
static PrefixDefinition
of(MetricPrefix prefix, List<String> prefixAlias)
String
toString()
-
-
-
Method Detail
-
of
public static PrefixDefinition of(MetricPrefix prefix, List<String> prefixAlias)
-
of
public static PrefixDefinition of(MetricPrefix prefix, String... prefixAlias)
-
getPrefix
public MetricPrefix getPrefix()
-
-