1 /*
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26
27 package java.util;
28
29
30 @SuppressWarnings({"unchecked", "deprecation", "all"})
31 public class LinkedHashMap<K, V> extends java.util.HashMap<K,V> implements java.util.Map<K,V> {
32
LinkedHashMap(int initialCapacity, float loadFactor)33 public LinkedHashMap(int initialCapacity, float loadFactor) { throw new RuntimeException("Stub!"); }
34
LinkedHashMap(int initialCapacity)35 public LinkedHashMap(int initialCapacity) { throw new RuntimeException("Stub!"); }
36
LinkedHashMap()37 public LinkedHashMap() { throw new RuntimeException("Stub!"); }
38
LinkedHashMap(java.util.Map<? extends K, ? extends V> m)39 public LinkedHashMap(java.util.Map<? extends K, ? extends V> m) { throw new RuntimeException("Stub!"); }
40
LinkedHashMap(int initialCapacity, float loadFactor, boolean accessOrder)41 public LinkedHashMap(int initialCapacity, float loadFactor, boolean accessOrder) { throw new RuntimeException("Stub!"); }
42
containsValue(java.lang.Object value)43 public boolean containsValue(java.lang.Object value) { throw new RuntimeException("Stub!"); }
44
get(java.lang.Object key)45 public V get(java.lang.Object key) { throw new RuntimeException("Stub!"); }
46
getOrDefault(java.lang.Object key, V defaultValue)47 public V getOrDefault(java.lang.Object key, V defaultValue) { throw new RuntimeException("Stub!"); }
48
clear()49 public void clear() { throw new RuntimeException("Stub!"); }
50
51 @libcore.api.CorePlatformApi
eldest()52 public java.util.Map.Entry<K,V> eldest() { throw new RuntimeException("Stub!"); }
53
removeEldestEntry(java.util.Map.Entry<K,V> eldest)54 protected boolean removeEldestEntry(java.util.Map.Entry<K,V> eldest) { throw new RuntimeException("Stub!"); }
55
keySet()56 public java.util.Set<K> keySet() { throw new RuntimeException("Stub!"); }
57
values()58 public java.util.Collection<V> values() { throw new RuntimeException("Stub!"); }
59
entrySet()60 public java.util.Set<java.util.Map.Entry<K,V>> entrySet() { throw new RuntimeException("Stub!"); }
61
forEach(java.util.function.BiConsumer<? super K,? super V> action)62 public void forEach(java.util.function.BiConsumer<? super K,? super V> action) { throw new RuntimeException("Stub!"); }
63
replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V> function)64 public void replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V> function) { throw new RuntimeException("Stub!"); }
65 }
66
67