[BAEL-16045] - Moved code to java-string-2

This commit is contained in:
amit2103
2019-10-27 19:47:01 +05:30
parent db85c8f275
commit 6bc2f22a9a
20514 changed files with 1642278 additions and 0 deletions
@@ -0,0 +1,15 @@
package com.baeldung.autovalue;
import com.google.auto.value.AutoValue;
@AutoValue
public abstract class AutoValueMoney {
public abstract String getCurrency();
public abstract long getAmount();
public static AutoValueMoney create(String currency, long amount) {
return new AutoValue_AutoValueMoney(currency, amount);
}
}