Home
last modified time | relevance | path

Searched refs:SimpleImmutableEntry (Results 1 – 15 of 15) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DSimpleImmutableEntryTest.java24 import java.util.AbstractMap.SimpleImmutableEntry;
31 new AbstractMap.SimpleImmutableEntry<Integer, String>(1, "test"); in test_SimpleImmutableEntry_Constructor_K_V()
32 new AbstractMap.SimpleImmutableEntry(null, null); in test_SimpleImmutableEntry_Constructor_K_V()
54 Entry testEntry = new AbstractMap.SimpleImmutableEntry(entryToPut); in test_SimpleImmutableEntry_Constructor_LEntry()
59 testEntry = new AbstractMap.SimpleImmutableEntry(new NullEntry()); in test_SimpleImmutableEntry_Constructor_LEntry()
63 new AbstractMap.SimpleImmutableEntry(null); in test_SimpleImmutableEntry_Constructor_LEntry()
72 Entry entry = new AbstractMap.SimpleImmutableEntry<Integer, String>(1, "test"); in test_SimpleImmutableEntry_getKey()
74 entry = new AbstractMap.SimpleImmutableEntry(null, null); in test_SimpleImmutableEntry_getKey()
79 Entry entry = new AbstractMap.SimpleImmutableEntry<Integer, String>(1, "test"); in test_SimpleImmutableEntry_getValue()
81 entry = new AbstractMap.SimpleImmutableEntry(null, null); in test_SimpleImmutableEntry_getValue()
[all …]
DSimpleEntryTest.java100 Entry ent = new AbstractMap.SimpleImmutableEntry<Integer, String>(1, "test"); in test_SimpleEntry_equals()
/libcore/jsr166-tests/src/test/java/jsr166/
DEntryTest.java44 Map.Entry s = new AbstractMap.SimpleImmutableEntry(k1, v1); in testConstructor2()
63 Map.Entry s2 = new AbstractMap.SimpleImmutableEntry(k1, v1); in testConstructor4()
64 Map.Entry s = new AbstractMap.SimpleImmutableEntry(s2); in testConstructor4()
76 Map.Entry s2 = new AbstractMap.SimpleImmutableEntry(k1, v1); in testEquals()
77 Map.Entry s = new AbstractMap.SimpleImmutableEntry(s2); in testEquals()
100 Map.Entry s2 = new AbstractMap.SimpleImmutableEntry(k1, v1); in testNotEquals()
101 Map.Entry s = new AbstractMap.SimpleImmutableEntry(k2, v1); in testNotEquals()
103 s = new AbstractMap.SimpleImmutableEntry(k1, v2); in testNotEquals()
105 s = new AbstractMap.SimpleImmutableEntry(k2, v2); in testNotEquals()
126 Map.Entry s2 = new AbstractMap.SimpleImmutableEntry(k1, v1); in testSetValue2()
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/
DAbstractMap.annotated.java89 public static class SimpleImmutableEntry<K, V> implements java.util.Map.Entry<K,V>, java.io.Seriali… class in AbstractMap
91 public SimpleImmutableEntry(@libcore.util.NullFromTypeParam K key, @libcore.util.NullFromTypeParam … in SimpleImmutableEntry() method in AbstractMap.SimpleImmutableEntry
93 public SimpleImmutableEntry(@libcore.util.NonNull java.util.Map.Entry<? extends @libcore.util.NullF… in SimpleImmutableEntry() method in AbstractMap.SimpleImmutableEntry
/libcore/ojluni/src/main/java/java/util/
DAbstractMap.java737 public static class SimpleImmutableEntry<K,V> class in AbstractMap
752 public SimpleImmutableEntry(K key, V value) { in SimpleImmutableEntry() method in AbstractMap.SimpleImmutableEntry
763 public SimpleImmutableEntry(Entry<? extends K, ? extends V> entry) { in SimpleImmutableEntry() method in AbstractMap.SimpleImmutableEntry
DWeakHashMap.java1297 (new AbstractMap.SimpleImmutableEntry<K,V>(k, v)); in forEachRemaining()
1323 (new AbstractMap.SimpleImmutableEntry<K,V>(k, v)); in tryAdvance()
DIdentityHashMap.java1560 (new AbstractMap.SimpleImmutableEntry<K,V>(k, v)); in forEachRemaining()
1583 (new AbstractMap.SimpleImmutableEntry<K,V>(k, v)); in tryAdvance()
DCollections.java3692 new AbstractMap.SimpleImmutableEntry<>((K)k, (V)v));
3888 return s.remove(new AbstractMap.SimpleImmutableEntry
3963 return e.equals(new AbstractMap.SimpleImmutableEntry
4949 new SimpleImmutableEntry<>(k, v));
DTreeMap.java1312 new AbstractMap.SimpleImmutableEntry<>(e); in exportEntry()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java527 AbstractMap.SimpleImmutableEntry<K,V> createSnapshot() { in createSnapshot()
532 return new AbstractMap.SimpleImmutableEntry<K,V>(key, vv); in createSnapshot()
1066 return new AbstractMap.SimpleImmutableEntry<K,V>(n.key, vv); in doRemoveFirstEntry()
1130 return new AbstractMap.SimpleImmutableEntry<K,V>(key, vv); in doRemoveLastEntry()
1260 final AbstractMap.SimpleImmutableEntry<K,V> getNear(K key, int rel) { in getNear()
1266 AbstractMap.SimpleImmutableEntry<K,V> e = n.createSnapshot(); in getNear()
2218 AbstractMap.SimpleImmutableEntry<K,V> e = n.createSnapshot(); in firstEntry()
2235 AbstractMap.SimpleImmutableEntry<K,V> e = n.createSnapshot(); in lastEntry()
2339 return new AbstractMap.SimpleImmutableEntry<K,V>(n.key, v); in next()
2737 return new AbstractMap.SimpleImmutableEntry<K,V>(k, v); in removeLowest()
[all …]
DConcurrentHashMap.java1650 Map.Entry<K,V> e = new AbstractMap.SimpleImmutableEntry<>(k, v); in removeEntryIf()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java351 cache1 = new AbstractMap.SimpleImmutableEntry<>(charsetName, cs); in cache()
504 cache1 = new AbstractMap.SimpleImmutableEntry<>(charsetName, cs);
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java79 import java.util.AbstractMap.SimpleImmutableEntry;
492 return new SimpleImmutableEntry<>(text, field); in createEntry()
DDateTimeFormatterBuilder.java105 import java.util.AbstractMap.SimpleImmutableEntry;
3853 … cached.put(locale, new SimpleImmutableEntry<>(regionIdsSize, new SoftReference<>(tree))); in getTree()
3898 … cached = new SimpleImmutableEntry<>(regionIdsSize, PrefixTree.newTree(regionIds, context)); in getTree()
/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java1556 Map.Entry<Boolean, T> falseEntry = new SimpleImmutableEntry<>(false, forFalse);
1557 Map.Entry<Boolean, T> trueEntry = new SimpleImmutableEntry<>(true, forTrue);