Queue<Integer> q = new LinkedList<>();
q.offer();
q.peek();
q.poll();
q.isEmpty();
Stack<Integer> stk = new Stack();
stk.push();
stk.peek();
stk.pop();
stk.isEmpty();
List<Integer> list = new ArrayList<>();
list.add();
list.get(i);
list.remove();
list.isEmpty();
Map<Integer,Integer> mmp = new HashMap<>();
mmp.put(1,1);
mmp.containsKey(1);
mmp.remove(key);
Integer value = mmp.get(key);
for(Map.EntrySet es : mmp.getKeySet()){
int key = es.getKey();
int value = es.getValue();
}
Set<Integer> st = new HashSet<>();
st.add(1);
st.isEmpty();
for(int item : st){
System.out.println(item);
}