Code example for LinkedHashMap

Methods: entrySet

0
    return map.values();
  } 
 
  @Override 
  public Set<Map.Entry<K, V>> entrySet() {
    return map.entrySet();
  } 
 
  private static UnsupportedOperationException newModificationUnsupported() {
    return new UnsupportedOperationException(ImmutableMap.class.getSimpleName() + " cannot be modified");
  } 
 
  @Override 
  public V put(K key, V value) {
    throw newModificationUnsupported(); 
  } 
 
  @Override 
  public V remove(Object key) {
    throw newModificationUnsupported(); 
  }