Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class BigMacAn {
- private Land land;
- private double prijs;
- /*public HashMap<Land, Integer> BigMac;
- public BigMacAn() {
- BigMac = new HashMap<Land, Integer>();
- }
- public HashMap<Land, Integer> getBigMac() {
- return BigMac;
- }
- public void setBigMac(HashMap<Land, Integer> BigMac) {
- this.BigMac = BigMac;
- }
- */
- public BigMacAn(Land land, double prijs) {
- this.land = land;
- this.prijs = prijs;
- }
- public Land getLand() {
- return land;
- }
- public void setLand(Land land) {
- this.land = land;
- }
- public double getPrijs() {
- return prijs;
- }
- public void setPrijs(int prijs) {
- this.prijs = prijs;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement