<commit_before>package org.knowm.xchange.currency;

public class CurrencyAmount {
}<commit_msg>represent an amount with unit type<commit_after>package org.knowm.xchange.currency;

import java.math.BigDecimal;

public class CurrencyAmount {

  private final String currency;
  private final BigDecimal amount;

  public CurrencyAmount(String currency, final BigDecimal amount) {

    this.currency = currency;
    this.amount = amount;
  }

  public String getCurrency() {

    return currency;
  }

  public BigDecimal getAmount() {

    return amount;
  }

  @Override
  public String toString() {

    return "CurrencyAmount [" + amount + " " + currency + "]";
  }
}
{'fraction_non_alphanumeric': 0.09281437125748503, 'fraction_numerical': 0.0, 'mean_word_length': 3.847826086956522, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1920601', 'n_tokens_mistral': 199, 'n_tokens_neox': 190, 'n_words': 53}