Skip to content

Instantly share code, notes, and snippets.

@uncoded-ro
Created January 12, 2020 06:43
Show Gist options
  • Save uncoded-ro/a185105d6b54f75c2181f8caf7427b7a to your computer and use it in GitHub Desktop.
Save uncoded-ro/a185105d6b54f75c2181f8caf7427b7a to your computer and use it in GitHub Desktop.
public interface Map<K, V> {
int size();
boolean isEmpty();
boolean containsKey(Object key);
boolean containsValue(Object value);
V get(Object key);
V put(K key, V value);
V remove(Object key);
void putAll(Map<? extends K, ? extends V> m);
void clear();
Set<K> keySet();
Collection<V> values();
Set<Map.Entry<K, V>> entrySet();
boolean equals(Object o);
int hashCode();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment