Skip to content

Latest commit

 

History

History
56 lines (52 loc) · 1.06 KB

File metadata and controls

56 lines (52 loc) · 1.06 KB

List

StringBuilder

StringBuilder     append(int/bool/char/char[])
int               charAt(int)
StringBuilder     deleteCharAt(int)
int               length()
StringBuilder     reverse()

Map<K,V>

void              clear()
boolean           containsKey(K)
boolean           containsValue(V)
V                 get(K)
V                 getOrDefault(V, V)
boolean           isEmpty()
Set<K>            keySet()
V                 put(K, V)
V                 putIfAbsent(K, V)
V                 remove(K)
boolean           remove(K, V)
int               size()

Set

boolean           add(E)
void              clear()
boolean           contains(E)
boolean           isEmpty()
boolean           remove(E)
int               size()

Stack

boolean           isEmpty()
E                 peek()
E                 pop()
E                 push(E)

Queue

boolean           add(E)
E                 peek()
E                 poll()
E                 remove()

PriorityQueue

boolean           add(E)
void              clear()