Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.82 KB | None | 0 0
  1. public class BigMacAn {
  2.    
  3.     private Land land;
  4.     private double prijs;
  5.    
  6.    
  7.    
  8.     /*public HashMap<Land, Integer> BigMac;
  9.  
  10.     public BigMacAn() {
  11.         BigMac = new HashMap<Land, Integer>();
  12.     }
  13.  
  14.     public HashMap<Land, Integer> getBigMac() {
  15.         return BigMac;
  16.     }
  17.  
  18.     public void setBigMac(HashMap<Land, Integer> BigMac) {
  19.         this.BigMac = BigMac;
  20.     }
  21.    
  22.     */
  23.  
  24.     public BigMacAn(Land land, double prijs) {
  25.         this.land = land;
  26.         this.prijs = prijs;
  27.     }
  28.  
  29.     public Land getLand() {
  30.         return land;
  31.     }
  32.  
  33.     public void setLand(Land land) {
  34.         this.land = land;
  35.     }
  36.  
  37.     public double getPrijs() {
  38.         return prijs;
  39.     }
  40.  
  41.     public void setPrijs(int prijs) {
  42.         this.prijs = prijs;
  43.     }
  44.    
  45.    
  46.    
  47.    
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement