public static interface IntegerUnit.Converter extends Plugin
| Modifier and Type | Method and Description |
|---|---|
long |
convert(long value,
Class<? extends IntegerUnit> from,
Class<? extends IntegerUnit> to)
Convert a value.
|
boolean |
supportConversion(Class<? extends IntegerUnit> from,
Class<? extends IntegerUnit> to)
Return true if the conversion is supported.
|
boolean supportConversion(Class<? extends IntegerUnit> from, Class<? extends IntegerUnit> to)
long convert(long value,
Class<? extends IntegerUnit> from,
Class<? extends IntegerUnit> to)
throws IntegerUnit.UnitConversionException
Copyright © 2019. All rights reserved.