/libcore/luni/src/test/java/libcore/java/nio/file/ |
H A D | FileSystemsTest.java | 36 import java.util.Map; 72 public void test_newFileSystem$URI$Map() throws IOException { 74 Map<String, String> stubEnv = new HashMap<>(); 92 public void test_newFileSystem$URI$Map$ClassLoader() throws Exception { 94 Map<String, String> stubEnv = new HashMap<>(); 119 public void test_newFileSystem$URI$Map$ClassLoader_customClassLoader() throws Exception { 120 Map<String, String> stubEnv = new HashMap<>();
|
H A D | DefaultFileSystemProvider2Test.java | 52 import java.util.Map; 175 Map<Path, Boolean> pathMap = new HashMap<>(); 640 public void test_newFileSystem$URI$Map() throws Exception {
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | TemporalField.java | 68 import java.util.Map; 375 Map<TemporalField, Long> fieldValues, 374 resolve( Map<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) argument
|
H A D | JulianFields.java | 72 import java.util.Map; 292 Map<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) { 291 resolve( Map<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) argument
|
H A D | WeekFields.java | 89 import java.util.Map; 916 Map<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) { 958 Map<TemporalField, Long> fieldValues, Chronology chrono, int year, long month, long wom, int localDow, ResolverStyle resolverStyle) { 984 Map<TemporalField, Long> fieldValues, Chronology chrono, int year, long woy, int localDow, ResolverStyle resolverStyle) { 1006 Map<TemporalField, Long> fieldValues, Chronology chrono, int localDow, ResolverStyle resolverStyle) { 1107 * Map the field range to a week range 1121 * Map the field range to a week range of a week year. 915 resolve( Map<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) argument 957 resolveWoM( Map<TemporalField, Long> fieldValues, Chronology chrono, int year, long month, long wom, int localDow, ResolverStyle resolverStyle) argument 983 resolveWoY( Map<TemporalField, Long> fieldValues, Chronology chrono, int year, long woy, int localDow, ResolverStyle resolverStyle) argument 1005 resolveWBY( Map<TemporalField, Long> fieldValues, Chronology chrono, int localDow, ResolverStyle resolverStyle) argument
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Map.java | 33 // Android-changed: removed docs for removed OpenJDK 9 Immutable Map static methods 42 * <p>The {@code Map} interface provides three <i>collection views</i>, which 61 * empty map, and a constructor with a single argument of type {@code Map}, 73 * have no effect on the map. For example, invoking the {@link #putAll(Map)} 97 * <i>not</i> be construed to imply that invoking {@code Map.containsKey} 128 public interface Map<K, V> { interface 172 * implementations of the {@code Map} interface. 296 void putAll(Map<? extends K, ? extends V> m); 360 Set<Map.Entry<K, V>> entrySet(); 363 * A map entry (key-value pair). The {@code Map [all...] |
H A D | LinkedHashMap.java | 35 * <p>Hash table and linked list implementation of the <tt>Map</tt> interface, 52 * void foo(Map m) { 53 * Map copy = new LinkedHashMap(m); 78 * <p>The {@link #removeEldestEntry(Map.Entry)} method may be overridden to 82 * <p>This class provides all of the optional <tt>Map</tt> operations, and 111 * Map m = Collections.synchronizedMap(new LinkedHashMap(...));</pre> 175 * @see Map 183 implements Map<K,V> 197 * hide Map.Entry which would break compilation of code like: 202 * mean java.util.Map 701 forEach(Consumer<? super Map.Entry<K,V>> action) argument [all...] |
H A D | IdentityHashMap.java | 34 * This class implements the <tt>Map</tt> interface with a hash table, using 38 * <tt>(k1==k2)</tt>. (In normal <tt>Map</tt> implementations (like 42 * <p><b>This class is <i>not</i> a general-purpose <tt>Map</tt> 43 * implementation! While this class implements the <tt>Map</tt> interface, it 44 * intentionally violates <tt>Map's</tt> general contract, which mandates the 97 * Map m = Collections.synchronizedMap(new IdentityHashMap(...));</pre> 131 * @see Map 140 implements Map<K,V>, java.io.Serializable, Cloneable 264 public IdentityHashMap(Map<? extends K, ? extends V> m) { 498 public void putAll(Map< 1546 forEachRemaining(Consumer<? super Map.Entry<K, V>> action) argument 1570 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument [all...] |
H A D | WeakHashMap.java | 37 * Hash table based implementation of the <tt>Map</tt> interface, with 44 * so this class behaves somewhat differently from other <tt>Map</tt> 70 * required) <tt>Map</tt> invariants do not hold for this class. Because 138 implements Map<K,V> { 254 public WeakHashMap(Map<? extends K, ? extends V> m) { 540 public void putAll(Map<? extends K, ? extends V> m) { 565 for (Map.Entry<? extends K, ? extends V> e : m.entrySet()) 617 if (!(o instanceof Map.Entry)) 620 Map.Entry<?,?> entry = (Map 1270 forEachRemaining(Consumer<? super Map.Entry<K, V>> action) argument 1306 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument [all...] |
H A D | HashMap.java | 39 * Hash table based implementation of the <tt>Map</tt> interface. This 100 * Map m = Collections.synchronizedMap(new HashMap(...));</pre> 132 * @see Map 138 implements Map<K,V>, Cloneable, Serializable { 278 static class Node<K,V> implements Map.Entry<K,V> { 308 if (o instanceof Map.Entry) { 309 Map.Entry<?,?> e = (Map.Entry<?,?>)o; 401 transient Set<Map.Entry<K,V>> entrySet; 480 * specified <tt>Map</t 1037 forEach(Consumer<? super Map.Entry<K,V>> action) argument 1675 forEachRemaining(Consumer<? super Map.Entry<K,V>> action) argument 1704 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument [all...] |
H A D | TreeMap.java | 48 * {@code Map} interface. (See {@code Comparable} or {@code Comparator} for a 50 * the {@code Map} interface is defined in terms of the {@code equals} 56 * of the {@code Map} interface. 89 * <p>All {@code Map.Entry} pairs returned by methods in this class 103 * @see Map 184 public TreeMap(Map<? extends K, ? extends V> m) { 313 public void putAll(Map<? extends K, ? extends V> map) { 686 public Map.Entry<K,V> firstEntry() { 693 public Map.Entry<K,V> lastEntry() { 700 public Map 3016 forEachRemaining(Consumer<? super Map.Entry<K, V>> action) argument 3040 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument [all...] |
H A D | Collections.java | 81 * @see Map 1474 public static <K,V> Map<K,V> unmodifiableMap(Map<? extends K, ? extends V> m) { 1481 private static class UnmodifiableMap<K,V> implements Map<K,V>, Serializable { 1484 private final Map<? extends K, ? extends V> m; 1486 UnmodifiableMap(Map<? extends K, ? extends V> m) { 1504 public void putAll(Map<? extends K, ? extends V> m) { 1512 private transient Set<Map.Entry<K,V>> entrySet; 1521 public Set<Map.Entry<K,V>> entrySet() { 1537 // Override default methods in Map 3792 addAll(Collection<? extends Map.Entry<K, V>> coll) argument [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
H A D | TCKDateTimeParseResolver.java | 123 import java.util.Map; 1159 Map<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) { 1158 resolve( Map<TemporalField, Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle) argument
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentSkipListMap.java | 48 import java.util.Map; 85 * <p>All {@code Map.Entry} pairs returned by methods in this class 104 * <em>optional</em> methods of the {@link Map} and {@link Iterator} 191 * here because it just so happens to mesh with the Map API 1048 private Map.Entry<K,V> doRemoveFirstEntry() { 1093 private Map.Entry<K,V> doRemoveLastEntry() { 1307 public ConcurrentSkipListMap(Map<? extends K, ? extends V> m) { 1372 Iterator<? extends Map.Entry<? extends K, ? extends V>> it = 1375 Map.Entry<? extends K, ? extends V> e = it.next(); 1510 /* ------ Map AP 3523 forEachRemaining(Consumer<? super Map.Entry<K,V>> action) argument 3541 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument [all...] |
H A D | ConcurrentHashMap.java | 49 import java.util.Map; 145 * <em>optional</em> methods of the {@link Map} and {@link Iterator} 165 * {@link java.util.Map.Entry} objects do not support method {@code 619 * user-mutable Map.Entry (i.e., one supporting setValue; see 625 static class Node<K,V> implements Map.Entry<K,V> { 649 Object k, v, u; Map.Entry<?,?> e; 650 return ((o instanceof Map.Entry) && 651 (k = (e = (Map.Entry<?,?>)o).getKey()) != null && 858 public ConcurrentHashMap(Map<? extends K, ? extends V> m) { 912 // Original (since JDK1.2) Map method 3663 forEachRemaining(Consumer<? super Map.Entry<K,V>> action) argument 3669 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument 4251 forEachEntry(long parallelismThreshold, Consumer<? super Map.Entry<K,V>> action) argument 4315 reduceEntries(long parallelismThreshold, BiFunction<Map.Entry<K,V>, Map.Entry<K,V>, ? extends Map.Entry<K,V>> reducer) argument 4856 forEach(Consumer<? super Map.Entry<K,V>> action) argument 5488 ReduceEntriesTask(BulkTask<K,V,?> p, int b, int i, int f, Node<K,V>[] t, ReduceEntriesTask<K,V> nextRight, BiFunction<Entry<K,V>, Map.Entry<K,V>, ? extends Map.Entry<K,V>> reducer) argument [all...] |