HomeSort by relevance Sort by last modified time
    Searched refs:SimpleEntry (Results 1 - 25 of 43) sorted by null

1 2

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
SimpleEntryTest.java 23 import java.util.AbstractMap.SimpleEntry;
30 new AbstractMap.SimpleEntry<Integer, String>(1, "test");
31 new AbstractMap.SimpleEntry(null, null);
53 Entry testEntry = new AbstractMap.SimpleEntry(entryToPut);
58 testEntry = new AbstractMap.SimpleEntry(new NullEntry());
62 new AbstractMap.SimpleEntry(null);
71 Entry entry = new AbstractMap.SimpleEntry<Integer, String>(1, "test");
73 entry = new AbstractMap.SimpleEntry(null, null);
78 Entry entry = new AbstractMap.SimpleEntry<Integer, String>(1, "test");
80 entry = new AbstractMap.SimpleEntry(null, null)
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
EntryTest.java 32 * A new SimpleEntry(k, v) holds k, v.
35 Map.Entry e = new AbstractMap.SimpleEntry(k1, v1);
50 * A new SimpleEntry(entry(k, v)) holds k, v.
53 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1);
54 Map.Entry e = new AbstractMap.SimpleEntry(e2);
74 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1);
75 Map.Entry e = new AbstractMap.SimpleEntry(e2);
92 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1);
93 Map.Entry e = new AbstractMap.SimpleEntry(k2, v1);
95 e = new AbstractMap.SimpleEntry(k1, v2)
    [all...]
ConcurrentHashMap8Test.java 578 return new AbstractMap.SimpleEntry<Long,Long>
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
Relation.java 99 result.add(new SimpleEntry<K, V>(key, value));
234 static class SimpleEntry<K, V> implements Entry<K, V> {
239 public SimpleEntry(K key, V value) {
244 public SimpleEntry(Entry<K, V> e) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
Relation.java 97 result.add(new SimpleEntry<K, V>(key, value));
232 static class SimpleEntry<K, V> implements Entry<K, V> {
237 public SimpleEntry(K key, V value) {
242 public SimpleEntry(Entry<K, V> e) {
  /external/mockito/src/main/java/org/mockito/internal/util/concurrent/
WeakConcurrentMap.java 325 return new SimpleEntry(nextKey, nextEntry);
337 private class SimpleEntry implements Map.Entry<K, V> {
343 private SimpleEntry(K key, Map.Entry<WeakKey<K>, V> entry) {
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
SmallSortedMapTest.java 48 // java.util.AbstractMap.SimpleEntry is private in JDK 1.5. We re-implement it
50 private static class SimpleEntry<K, V> implements Map.Entry<K, V> {
54 SimpleEntry(K key, V value) {
242 entrySet.contains(new SimpleEntry<Integer, Integer>(i, i + 1)));
244 entrySet.contains(new SimpleEntry<Integer, Integer>(i, i)));
253 new SimpleEntry<Integer, Integer>(i, i + 1);
273 new SimpleEntry<Integer, Integer>(i, i + 1);
  /libcore/ojluni/src/main/java/java/util/
AbstractMap.java 580 * Utility method for SimpleEntry and SimpleImmutableEntry.
589 // Implementation Note: SimpleEntry and SimpleImmutableEntry
602 * arrays of <tt>SimpleEntry</tt> instances in method
607 public static class SimpleEntry<K,V>
622 public SimpleEntry(K key, V value) {
633 public SimpleEntry(Entry<? extends K, ? extends V> entry) {
EnumMap.java 513 a[j++] = new AbstractMap.SimpleEntry<>(
IdentityHashMap.java     [all...]
WeakHashMap.java     [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldAbstractMapTest.java 106 entries.add(new AbstractMap.SimpleEntry<String, String>(key, value));
EvilMapTest.java 35 entries.add(new AbstractMap.SimpleEntry("hi", "there"));
TreeMapTest.java 22 import java.util.AbstractMap.SimpleEntry;
182 assertTrue(map.entrySet().contains(new SimpleEntry<String, String>("abc", "a")));
183 assertTrue(map.entrySet().remove(new SimpleEntry<String, String>("abc", "a")));
773 return new AbstractMap.SimpleEntry<>(key, value);
    [all...]
MapDefaultMethodTester.java 461 return new AbstractMap.SimpleEntry<>("key" + i, "value" + i);
507 result.add(new AbstractMap.SimpleEntry<>(keysAndValues[i], keysAndValues[i+1]));
CollectionsTest.java     [all...]
  /frameworks/support/compat/tests/java/android/support/v4/util/
ArrayMapCompatTest.java 70 return new AbstractMap.SimpleEntry<>(key, value);
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableMapTest.java 267 static class SimpleEntry<K, V> extends AbstractMapEntry<K, V> {
271 SimpleEntry(K key, V value) {
290 builder.put(new SimpleEntry<String, Integer>(null, 1));
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableMapTest.java 407 static class SimpleEntry<K, V> extends AbstractMapEntry<K, V> {
411 SimpleEntry(K key, V value) {
430 builder.put(new SimpleEntry<String, Integer>(null, 1));
  /frameworks/base/core/java/android/hardware/camera2/impl/
CameraDeviceImpl.java 51 import java.util.AbstractMap.SimpleEntry;
95 private SimpleEntry<Integer, InputConfiguration> mConfiguredInput =
96 new SimpleEntry<>(REQUEST_ID_NONE, null);
441 mConfiguredInput = new SimpleEntry<Integer, InputConfiguration>(
447 mConfiguredInput = new SimpleEntry<Integer, InputConfiguration>(
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
ArrayMapTest.java 578 return new AbstractMap.SimpleEntry<>(key, value);
  /prebuilts/tools/common/m2/repository/com/cedarsoftware/java-util/1.24.0/
java-util-1.24.0.jar 
  /external/guice/extensions/persist/lib/
hibernate-search.jar 
  /prebuilts/misc/common/robolectric/lib/
backport-util-concurrent-3.1.jar 
  /prebuilts/tools/common/m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/
backport-util-concurrent-3.1.jar 

Completed in 1529 milliseconds

1 2