HomeSort by relevance Sort by last modified time
    Searched refs:SimpleEntry (Results 1 - 25 of 34) 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 97 result.add(new SimpleEntry<K, V>(key, value));
229 static class SimpleEntry<K, V> implements Entry<K, V> {
234 public SimpleEntry(K key, V value) {
239 public SimpleEntry(Entry<K, V> e) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
Relation.java 95 result.add(new SimpleEntry<K, V>(key, value));
227 static class SimpleEntry<K, V> implements Entry<K, V> {
232 public SimpleEntry(K key, V value) {
237 public SimpleEntry(Entry<K, V> e) {
  /external/protobuf/java/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) {
239 entrySet.contains(new SimpleEntry<Integer, Integer>(i, i + 1)));
241 entrySet.contains(new SimpleEntry<Integer, Integer>(i, i)));
250 new SimpleEntry<Integer, Integer>(i, i + 1);
270 new SimpleEntry<Integer, Integer>(i, i + 1);
  /libcore/ojluni/src/main/java/java/util/
AbstractMap.java 544 * Utility method for SimpleEntry and SimpleImmutableEntry.
551 // Implementation Note: SimpleEntry and SimpleImmutableEntry
564 * arrays of <tt>SimpleEntry</tt> instances in method
569 public static class SimpleEntry<K,V>
584 public SimpleEntry(K key, V value) {
595 public SimpleEntry(Entry<? extends K, ? extends V> entry) {
EnumMap.java 511 a[j++] = new AbstractMap.SimpleEntry<>(
IdentityHashMap.java     [all...]