Code example for AbstractMap

Methods: remove

0
		return null; 
	} 
 
	@Override 
	public V remove(K key) {
		return map.remove(key);
	}; 
 
	@Override 
	public String toString() {
		StringBuilder s = new StringBuilder();
		for (Entry<K, V> entry : map.entrySet()) {
			int len = maxString + 5;
			String str = String.format("%%-%ds", len); // %-10s
			s.append(String.format(str + "\t%s\n", entry.getKey(),
					entry.getValue()));
		} 
		return s.toString();
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java