Searched refs:LinkedHashMap (Results 1 - 25 of 89) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/sun/util/resources/
H A DTimeZoneNamesBundle.java44 import java.util.LinkedHashMap;
90 * Use LinkedHashMap to preserve order of bundle entries.
93 return new LinkedHashMap(size);
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DSun.java57 // use LinkedHashMap to preserve the order of the PRNGs
58 Map<Object, Object> map = new LinkedHashMap<>();
H A DVerificationProvider.java78 // use LinkedHashMap to preserve the order of the PRNGs
79 Map<Object, Object> map = new LinkedHashMap<>();
/openjdk7/jdk/test/java/util/AbstractMap/
H A DToString.java50 class LyingMap extends LinkedHashMap {
/openjdk7/jdk/test/java/util/LinkedHashMap/
H A DCache.java37 Map m = new LinkedHashMap() {
H A DBasic.java27 * @summary Basic test for LinkedHashMap. (Based on MapBash)
43 Map m = new LinkedHashMap();
60 Map m2 = new LinkedHashMap(); m2.putAll(m);
82 Map m = new LinkedHashMap();
91 Map m2 = new LinkedHashMap(); m2.putAll(m);
139 m = new LinkedHashMap();
163 m2 = (Map) ((LinkedHashMap)m).clone();
178 m = new LinkedHashMap(1000, .75f, true);
201 m2 = (Map) ((LinkedHashMap)m).clone();
/openjdk7/jdk/src/share/classes/java/util/
H A DLinkedHashMap.java48 * Map copy = new LinkedHashMap(m);
57 * <p>A special {@link #LinkedHashMap(int,float,boolean) constructor} is
81 * of a <tt>LinkedHashMap</tt> requires time proportional to the <i>size</i>
103 * Map m = Collections.synchronizedMap(new LinkedHashMap(...));</pre>
147 public class LinkedHashMap<K,V> class in inherits:HashMap,Map
168 * Constructs an empty insertion-ordered <tt>LinkedHashMap</tt> instance
176 public LinkedHashMap(int initialCapacity, float loadFactor) { method in class:LinkedHashMap
182 * Constructs an empty insertion-ordered <tt>LinkedHashMap</tt> instance
188 public LinkedHashMap(int initialCapacity) { method in class:LinkedHashMap
194 * Constructs an empty insertion-ordered <tt>LinkedHashMap</t
197 public LinkedHashMap() { method in class:LinkedHashMap
211 public LinkedHashMap(Map<? extends K, ? extends V> m) { method in class:LinkedHashMap
227 public LinkedHashMap(int initialCapacity, method in class:LinkedHashMap
[all...]
H A DHashSet.java148 * HashMap instance is a LinkedHashMap with the specified initial
159 map = new LinkedHashMap<>(initialCapacity, loadFactor);
300 new LinkedHashMap<E,Object>(capacity, loadFactor) :
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/
H A DID.java29 import java.util.LinkedHashMap;
139 static final ThreadLocal<LinkedHashMap<Long, Constructor>> constructorCache = new ThreadLocal<LinkedHashMap<Long, Constructor>>(){
140 @Override protected LinkedHashMap<Long, Constructor> initialValue(){
143 return new LinkedHashMap<Long, Constructor>((int) (MAX_ENTRIES/LOAD_FACTOR), LOAD_FACTOR, true) {
151 static final ThreadLocal<LinkedHashMap<Long, WeakReference>> objectCache = new ThreadLocal<LinkedHashMap<Long, WeakReference>>(){
152 @Override protected LinkedHashMap<Long, WeakReference> initialValue(){
155 return new LinkedHashMap<Long, WeakReference>((int) (MAX_ENTRIES/LOAD_FACTOR), LOAD_FACTOR, true) {
/openjdk7/jdk/test/java/beans/Performance/
H A DTest7184799.java56 LinkedHashMap.class,
/openjdk7/jdk/test/java/util/Hashtable/
H A DSelfRef.java39 testMap(new LinkedHashMap<Object,Object>());
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/orbutil/proxy/
H A DCompositeInvocationHandlerImpl.java31 import java.util.LinkedHashMap ;
43 private Map classToInvocationHandler = new LinkedHashMap() ;
H A DDelegateInvocationHandlerImpl.java31 import java.util.LinkedHashMap ;
/openjdk7/jdk/src/share/demo/management/JTop/
H A DJTopPlugin.java50 import java.util.LinkedHashMap;
88 // use LinkedHashMap if you want a predictable order
90 tabs = new LinkedHashMap<String, JPanel>();
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DLinkedHashMap.java45 * An instance of LinkedHashMap has two parameters that affect its efficiency:
47 * between 0.0 and 1.0. When the number of mappings in the LinkedHashMap exceeds
54 * If many mappings are to be stored in a LinkedHashMap, creating it with a
60 * multiple threads access a LinkedHashMap concurrently, and at least one of the
61 * threads modifies the LinkedHashMap structurally, it <em>must</em> be
66 * object that naturally encapsulates the LinkedHashMap. If no such object
67 * exists, the LinkedHashMap should be "wrapped" using the
69 * prevent accidental unsynchronized access to the LinkedHashMap:
71 * Map m = Collections.synchronizedMap(new LinkedHashMap(...));
75 * by all of LinkedHashMap'
96 public class LinkedHashMap extends AbstractMap implements Map, Serializable { class in inherits:AbstractMap,Map,Serializable
141 public LinkedHashMap(int initialCapacity, float loadFactor) { method in class:LinkedHashMap
163 public LinkedHashMap(int initialCapacity) { method in class:LinkedHashMap
171 public LinkedHashMap() { method in class:LinkedHashMap
181 public LinkedHashMap(Map t) { method in class:LinkedHashMap
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DExpiringCache.java33 import java.util.LinkedHashMap;
66 map = new LinkedHashMap() {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/
H A DWSDLServiceImpl.java35 import java.util.LinkedHashMap;
52 ports = new LinkedHashMap<QName,WSDLPortImpl>();
/openjdk7/jdk/test/sun/net/InetAddress/nameservice/simple/
H A DSimpleNameService.java34 private static LinkedHashMap hosts = new LinkedHashMap();
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DImageCache.java33 import java.util.LinkedHashMap;
47 private final LinkedHashMap<Integer, PixelCountSoftReference> map =
48 new LinkedHashMap<Integer, PixelCountSoftReference>(16, 0.75f, true);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileAttributeView.java46 import java.util.LinkedHashMap;
137 LinkedHashMap<String, Object> map = new LinkedHashMap<>();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/
H A DAttributesHolder.java44 import java.util.LinkedHashMap;
62 protected final Map<UName,AttributeUseImpl> attributes = new LinkedHashMap<UName,AttributeUseImpl>();
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/
H A DAnnotationMirrorImpl.java29 import java.util.LinkedHashMap;
109 new LinkedHashMap<AnnotationTypeElementDeclaration,
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DOptions.java48 private LinkedHashMap<String,String> values;
59 // DEBUGGING -- Use LinkedHashMap for reproducability
60 values = new LinkedHashMap<String,String>();
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/
H A DScanManagerConfig.java44 import java.util.LinkedHashMap;
132 directoryScanners = new LinkedHashMap<String,DirectoryScannerConfig>();
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/
H A DLogCompilation.java116 LinkedHashMap<String, Double> phaseTime = new LinkedHashMap<String, Double>(7);
117 LinkedHashMap<String, Integer> phaseNodes = new LinkedHashMap<String, Integer>(7);

Completed in 128 milliseconds

1234