Interface ByteMultiple.Conversion

Enclosing class:
ByteMultiple
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 ByteMultiple.Conversion
Fluent API helper for ByteMultiple.convert(double,ByteMultiple) to get readable code like:

convert(1.5, ByteMultiple.MB).to(ByteMultiple.KB);

  • Method Summary

    Modifier and Type Method Description
    double to​(ByteMultiple targetUnit)