Interface ByteUnit.Conversion
- Enclosing class:
- ByteUnit
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface ByteUnit.Conversion
Fluent API helper for
ByteUnit.convert(double, ByteUnit)
to get readable code like:
convert(1.5, ByteMultiple.MB).to(ByteMultiple.KB);