Package jadex.bridge.sensor.unit
Interface IPrettyPrintUnit<T>
-
- All Known Implementing Classes:
MemoryUnit
,PercentUnit
,TimeUnit
public interface IPrettyPrintUnit<T>
Pretty print a value of unit of type T.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
prettyPrint(T value)
Pretty print a value according to the underlying unit to a string.
-
-
-
Method Detail
-
prettyPrint
java.lang.String prettyPrint(T value)
Pretty print a value according to the underlying unit to a string.- Parameters:
value
- The value.- Returns:
- The pretty printed string.
-
-