Modifier and Type | Method and Description |
---|---|
UnitUtils.UNIT_TYPE |
UnitTypeDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
void |
UnitTypeSerializer.serialize(UnitUtils.UNIT_TYPE type,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
Modifier and Type | Field and Description |
---|---|
static HashMap<UnitUtils.UNIT_TYPE,Unit> |
UnitUtils.unitsImperial |
static HashMap<UnitUtils.UNIT_TYPE,Unit> |
UnitUtils.unitsMetric |
Modifier and Type | Method and Description |
---|---|
static UnitUtils.UNIT_TYPE |
UnitUtils.UNIT_TYPE.fromString(String text) |
static UnitUtils.UNIT_TYPE |
UnitUtils.UNIT_TYPE.get(int id) |
static UnitUtils.UNIT_TYPE |
UnitUtils.getUnit(McMessageUtils.MESSAGE_TYPE_SET_REQ mType) |
static UnitUtils.UNIT_TYPE |
UnitUtils.UNIT_TYPE.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitUtils.UNIT_TYPE[] |
UnitUtils.UNIT_TYPE.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Unit |
UnitUtils.getUnit(UnitUtils.UNIT_TYPE type) |
Copyright © 2015–2019. All rights reserved.