
public class Amount {

    public Amount(long amount, Currency currency) {
    }

    public Amount(double amount, Currency currency) {
    }

    public Amount add(Amount other) {
    }

    public Amount subtract(Amount other) {
    }

    public Amount multiply(double factor) {
    }

    public Amount multiply(int factor) {
    }

    public Amount percentage(int percent) {
    }

    public long toLong() {
    }

    public int getSign() {
    }

    public Amount abs() {
    }

    public double toDouble() {
    }

    public Currency getCurrency() {
    }

    public String toString() {
    }

    public int hashCode() {
    }

    public boolean equals(Object obj) {
    }
}


public class Amount {

    public Amount(long amount, Currency currency) {
    }

    public Amount(double amount, Currency currency) {
    }

    public Amount add(Amount other) {
    }

    public Amount subtract(Amount other) {
    }

    public Amount multiply(double factor) {
    }

    public Amount multiply(int factor) {
    }

    public Amount percentage(int percent) {
    }

    public long toLong() {
    }

    public int getSign() {
    }

    public double toDouble() {
    }

    public Currency getCurrency() {
    }

    public String toString() {
    }

    public int hashCode() {
    }

    public boolean equals(Object obj) {
    }
}

Update Amount.java