class Currency implements Comparable<Currency>, Serializable {

  @Override
  public int compareTo(Currency other) {
    // hash code is unique and ordered so can be used for compareTo
    return cachedHashCode - other.cachedHashCode;
  }

    Currency(String code, int fractionDigits, String triangulationCurrency);

}