public boolean equals(BinaryScaledAmount candidate) {
        return BinaryPrefix.unit.convertFrom(amount, binaryPrefix) ==
                BinaryPrefix.unit.convertFrom(candidate.amount, candidate.binaryPrefix);
    }
An amount scaled by a binary prefix.

<p>
Examples: 2 kilo, 2 mega, ...
</p>

@author Tony Vaagenes
vespajlib/src/main/java/com/yahoo/binaryprefix/BinaryScaledAmount.java