/openjdk9/jdk/test/java/util/Locale/ |
H A D | HashCodeTest.java | 40 Map<Integer, Locale> map = new HashMap<>(locales.length); 49 if (map.containsKey(key)) { 51 System.out.println("conflict: " + map.get(key) + ", " + loc); 53 map.put(key, loc);
|
/openjdk9/langtools/test/tools/javac/lambda/8148128/ |
H A D | T8148128.java | 45 doSomething(Stream.of("Foo", "Bar").map(Collections::singletonList).toArray(List[]::new));
|
/openjdk9/langtools/test/tools/javac/generics/rawOverride/7157798/ |
H A D | Test2.java | 34 interface A { void m(Map map); } argument 35 interface B { void m(Map<Number, String> map); } argument 39 interface C<K, V> { List<V> getList(Map<K, V> map); } argument 40 interface D { ArrayList getList(Map map); } argument
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ |
H A D | WeakValueCache.java | 34 * This class provides a map based cache with weakly referenced values. Cleared references are 35 * purged from the underlying map when values are retrieved or created. 43 private final HashMap<K, KeyValueReference<K, V>> map = new HashMap<>(); field in class:WeakValueCache 59 map.remove(ref.key, ref); 62 final KeyValueReference<K, V> ref = map.get(key); 83 map.put(key, new KeyValueReference<>(key, value));
|
/openjdk9/langtools/test/tools/javac/lambda/ |
H A D | MethodReference75.java | 38 .map(PublicDerived8143647::getX)
|
/openjdk9/langtools/test/tools/javac/lambda/methodReference/ |
H A D | MethodRefNewInnerInLambdaNPE1.java | 40 return () -> Stream.of(1).map(TT::new).findFirst().get();
|
/openjdk9/nashorn/samples/dynalink/ |
H A D | array_stream.js | 40 s.map(function(s) s.toUpperCase()).forEach(print) 44 print(is.map(function(x) x*x).sum())
|
/openjdk9/jdk/test/javax/sql/testng/util/ |
H A D | StubArray.java | 59 public Object getArray(Map<String, Class<?>> map) throws SQLException { argument 69 public Object getArray(long index, int count, Map<String, Class<?>> map) throws SQLException { argument 79 public ResultSet getResultSet(Map<String, Class<?>> map) throws SQLException { argument 89 public ResultSet getResultSet(long index, int count, Map<String, Class<?>> map) throws SQLException { argument
|
/openjdk9/jdk/test/jdk/modules/incubator/src/cp/test/ |
H A D | ConvertToLowerCase.java | 33 .map(Module::getName)
|
H A D | WriteUpperCase.java | 33 .map(Module::getName)
|
/openjdk9/jdk/test/jdk/modules/incubator/src/cp/listmods/ |
H A D | ListModules.java | 33 .map(Module::getName)
|
/openjdk9/hotspot/test/compiler/compilercontrol/share/processors/ |
H A D | PrintProcessor.java | 66 .map(MethodGenerator::logDescriptor) 67 .map(MethodDescriptor::getString) 68 .map(s -> s.replaceFirst("\\(.*", "")) // remove signature 72 .map(pair -> pair.first) 73 .map(MethodGenerator::logDescriptor) 74 .map(MethodDescriptor::getString) 75 .map(s -> s.replaceFirst("\\(.*", "")) // remove signature
|
/openjdk9/jdk/src/java.base/share/classes/sun/util/locale/ |
H A D | LocaleObjectCache.java | 40 private ConcurrentMap<K, CacheEntry<K, V>> map; field in class:LocaleObjectCache 48 map = new ConcurrentHashMap<>(initialCapacity, loadFactor, concurrencyLevel); 55 CacheEntry<K, V> entry = map.get(key); 71 entry = map.putIfAbsent(key, newEntry); 77 map.put(key, newEntry); 87 CacheEntry<K, V> oldEntry = map.put(key, entry); 95 map.remove(entry.getKey());
|
/openjdk9/jdk/test/sun/nio/cs/ |
H A D | EuroConverter.java | 43 char[] map = new char[256]; // map for the encoding 53 // Fill map with parent values 72 map[(j+0x100)&0xFF] = parentValue; 75 // Modify map with new expected values. Each pair has code point, parent value, euro value. 83 if (map[codePoint] != expectedParentValue) { 87 Integer.toHexString(map[codePoint]) + ", expected \\u" + 91 map[codePoint] = expectedEuroValue; 111 // Compare against the map 112 if (euroValue != map[( [all...] |
/openjdk9/jdk/test/sun/security/krb5/auto/ |
H A D | S4U2self.java | 86 Map<String,List<String>> map = new HashMap<>(); 89 map.put(OneKDC.USER2 + "@" + OneKDC.REALM, Arrays.asList( 91 kdc.setOption(KDC.Option.ALLOW_S4U2PROXY, map); 94 map.put(OneKDC.USER + "@" + OneKDC.REALM, Arrays.asList( 96 kdc.setOption(KDC.Option.ALLOW_S4U2PROXY, map); 102 map.put(OneKDC.USER + "@" + OneKDC.REALM, Arrays.asList( 104 kdc.setOption(KDC.Option.ALLOW_S4U2PROXY, map);
|
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/beans/introspect/ |
H A D | EventSetInfo.java | 95 private static EventSetInfo getInfo(Map<String,EventSetInfo> map, String key) { argument 96 EventSetInfo info = map.get(key); 99 map.put(key, info); 109 Map<String,EventSetInfo> map = new TreeMap<>(); 118 EventSetInfo info = getInfo(map, name.substring(3, name.length() - 8)); 121 EventSetInfo info = getInfo(map, name.substring(6, name.length() - 8)); 128 EventSetInfo info = getInfo(map, name.substring(3, name.length() - 9)); 135 Iterator<EventSetInfo> iterator = map.values().iterator(); 141 return !map.isEmpty() 142 ? Collections.unmodifiableMap(map) [all...] |
/openjdk9/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/ |
H A D | SerialStruct.java | 92 * @param map a <code>java.util.Map</code> object in which 100 public SerialStruct(Struct in, Map<String,Class<?>> map) argument 111 attribs = in.getAttributes(map); 118 mapToSerial(map); 128 * map to custom map it to a class in the Java programming 129 * language. The type map gives the SQL type and the class 136 * @param map a <code>java.util.Map</code> object in which 143 public SerialStruct(SQLData in, Map<String,Class<?>> map) argument 153 in.writeSQL(new SQLOutputImpl(tmp, map)); 208 getAttributes(Map<String,Class<?>> map) argument 235 mapToSerial(Map<String,Class<?>> map) argument [all...] |
/openjdk9/hotspot/test/runtime/modules/AccessCheck/ |
H A D | Umod_ExpQualOther.java | 104 // map each module to differing class loaders for this test 105 Map<String, ClassLoader> map = new HashMap<>(); 106 map.put("m1x", MySameClassLoader.loader1); 107 map.put("m2x", MySameClassLoader.loader1); 108 map.put("m3x", MySameClassLoader.loader1); 111 ModuleLayer layer = ModuleLayer.boot().defineModules(cf, map::get);
|
H A D | UmodUpkg_ExpQualOther.java | 104 // map each module to differing class loaders for this test 105 Map<String, ClassLoader> map = new HashMap<>(); 106 map.put("m1x", MySameClassLoader.loader1); 107 map.put("m2x", MySameClassLoader.loader1); 108 map.put("m3x", MySameClassLoader.loader1); 111 ModuleLayer layer = ModuleLayer.boot().defineModules(cf, map::get);
|
H A D | DiffCL_ExpQualOther.java | 108 // map each module to differing class loaders for this test 109 Map<String, ClassLoader> map = new HashMap<>(); 110 map.put("m1x", MyDiffClassLoader.loader1); 111 map.put("m2x", MyDiffClassLoader.loader2); 112 map.put("m3x", MyDiffClassLoader.loader2); 115 ModuleLayer layer = ModuleLayer.boot().defineModules(cf, map::get);
|
H A D | DiffCL_CheckRead.java | 106 // map each module to differing class loaders for this test 107 Map<String, ClassLoader> map = new HashMap<>(); 108 map.put("m1x", MyDiffClassLoader.loader1); 109 map.put("m2x", MyDiffClassLoader.loader2); 110 map.put("m3x", MyDiffClassLoader.loader2); 113 ModuleLayer layer = ModuleLayer.boot().defineModules(cf, map::get);
|
H A D | ExpQualOther.java | 108 // map each module to differing class loaders for this test 109 Map<String, ClassLoader> map = new HashMap<>(); 110 map.put("m1x", MySameClassLoader.loader1); 111 map.put("m2x", MySameClassLoader.loader1); 112 map.put("m3x", MySameClassLoader.loader1); 115 ModuleLayer layer = ModuleLayer.boot().defineModules(cf, map::get);
|
H A D | CheckRead.java | 106 // map each module to differing class loaders for this test 107 Map<String, ClassLoader> map = new HashMap<>(); 108 map.put("m1x", MySameClassLoader.loader1); 109 map.put("m2x", MySameClassLoader.loader1); 110 map.put("m3x", MySameClassLoader.loader1); 113 ModuleLayer layer = ModuleLayer.boot().defineModules(cf, map::get);
|
/openjdk9/hotspot/test/runtime/modules/ModuleStress/ |
H A D | ModuleNonBuiltinCLMain.java | 96 // map each module to differing user defined class loaders for this test 97 Map<String, ClassLoader> map = new HashMap<>(); 101 map.put("m1x", cl1); 102 map.put("m2x", cl2); 103 map.put("m3x", cl3); 106 ModuleLayer layer = ModuleLayer.boot().defineModules(cf, map::get);
|
/openjdk9/nashorn/test/script/basic/es6/ |
H A D | iterator.js | 73 const map = new Map(mapEntries); 74 testIterator(map[Symbol.iterator](), mapEntries); 75 testIterator(map.values(), mapValues); 76 testIterator(map.keys(), array); 77 testIterator(map.entries(), mapEntries);
|