package exp12.TicketingSystem; import java.util.HashMap; import java.util.Map; public class TicketingSystem { private int tickets = 200; private Map map = new HashMap<>(); final int MAX_PERSON = 5; final int MAX_TICKET_PER_PERSON =10; public static void main(String[] args) { } public synchronized boolean buy(String user) { if(!map.containsValue(user) && map.size()