Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1. package parking;
  2.  
  3. import java.util.ArrayList;
  4. import java.util.HashMap;
  5. import java.util.List;
  6. import java.util.Map;
  7.  
  8. public class ParkingPlace {
  9.  
  10.     private String type;
  11.     private boolean isPlaceEmpty;
  12.  
  13.     public ParkingPlace(String type, boolean isPlaceEmpty) {
  14.         this.type = type;
  15.         this.isPlaceEmpty = isPlaceEmpty;
  16.     }
  17.  
  18.     public String getType() {
  19.         return type;
  20.     }
  21.  
  22.     public void setType(String type) {
  23.         this.type = type;
  24.     }
  25.  
  26.     public boolean isPlaceEmpty() {
  27.         return isPlaceEmpty;
  28.     }
  29.  
  30.     public void setPlaceEmpty(boolean isPlaceEmpty) {
  31.         this.isPlaceEmpty = isPlaceEmpty;
  32.     }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement