You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
642 B
36 lines
642 B
package MeinBudgetView;
|
|
|
|
import java.util.*;
|
|
|
|
public class Calculations {
|
|
|
|
private static int budget;
|
|
ArrayList<Integer> all_expenses = new ArrayList<>();
|
|
private static int expense;
|
|
private static int balance;
|
|
|
|
public static int getBudget() {
|
|
return budget;
|
|
}
|
|
|
|
public static void setBudget(int budgetEingabe) {
|
|
budget = budgetEingabe;
|
|
}
|
|
|
|
public static int getExpense() {
|
|
return expense;
|
|
}
|
|
|
|
public static void setExpense(int expenseEingabe) {
|
|
expense = expenseEingabe;
|
|
}
|
|
|
|
public static int getBalance() {
|
|
return balance;
|
|
}
|
|
|
|
public static void setBalance(int balanceEingabe) {
|
|
balance = balanceEingabe;
|
|
}
|
|
|
|
}
|