Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void addHotel(Hotel hotel) {
- if (!hoteller.contains(hotel)) {
- hoteller.add(hotel);
- }
- }
- public void removeHotel(Hotel hotel) {
- if (hoteller.contains(hotel)) {
- hoteller.remove(hotel);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement