Home
last modified time | relevance | path

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

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestStringMapGenerator.java39 Helpers.mapEntry("one", "January"), in samples()
40 Helpers.mapEntry("two", "February"), in samples()
41 Helpers.mapEntry("three", "March"), in samples()
42 Helpers.mapEntry("four", "April"), in samples()
43 Helpers.mapEntry("five", "May") in samples()
DTestEnumMapGenerator.java36 Helpers.mapEntry(AnEnum.A, "January"), in samples()
37 Helpers.mapEntry(AnEnum.B, "February"), in samples()
38 Helpers.mapEntry(AnEnum.C, "March"), in samples()
39 Helpers.mapEntry(AnEnum.D, "April"), in samples()
40 Helpers.mapEntry(AnEnum.E, "May") in samples()
DSampleElements.java68 Helpers.mapEntry(keys.e0, values.e0), in mapEntries()
69 Helpers.mapEntry(keys.e1, values.e1), in mapEntries()
70 Helpers.mapEntry(keys.e2, values.e2), in mapEntries()
71 Helpers.mapEntry(keys.e3, values.e3), in mapEntries()
72 Helpers.mapEntry(keys.e4, values.e4)); in mapEntries()
DMapInterfaceTest.java196 assertTrue(entrySet.contains(mapEntry(key, value))); in assertInvariants()
237 entrySetToArray2[map.size()] = mapEntry("foo", 1); in assertInvariants()
395 = mapEntry(new IncompatibleKeyType(), unmappedValue); in testEntrySetContainsEntryIncompatibleKey()
423 Entry<K, V> entry = mapEntry(null, unmappedValue); in testEntrySetContainsEntryNullKeyPresent()
425 assertFalse(entrySet.contains(mapEntry(null, null))); in testEntrySetContainsEntryNullKeyPresent()
445 Entry<K, V> entry = mapEntry(null, unmappedValue); in testEntrySetContainsEntryNullKeyMissing()
452 assertFalse(entrySet.contains(mapEntry(null, null))); in testEntrySetContainsEntryNullKeyMissing()
471 Entry<K, V> entryCopy = Helpers.mapEntry( in testEntrySetIteratorRemove()
536 = mapEntry(key, getValueNotInPopulatedMap()); in testEntrySetRemoveMissingKey()
563 = mapEntry(key, getValueNotInPopulatedMap()); in testEntrySetRemoveDifferentValue()
[all …]
DNavigableMapTestSuiteBuilder.java198 result.add(Helpers.mapEntry("!! a", "below view"));
199 result.add(Helpers.mapEntry("!! b", "below view"));
200 result.add(Helpers.mapEntry("~~ y", "above view"));
201 result.add(Helpers.mapEntry("~~ z", "above view"));
DMapTestSuiteBuilder.java253 entries.add(Helpers.mapEntry(keysArray[i++], entry.getValue())); in create()
314 entries.add(Helpers.mapEntry(entry.getKey(), valuesArray[i++])); in create()
DAbstractMapTester.java186 return Helpers.mapEntry(key, value); in entry()
DHelpers.java69 static <K, V> Entry<K, V> mapEntry(K key, V value) { in mapEntry() method in Helpers
DSortedMapInterfaceTest.java118 = mapEntry(new IncompatibleComparableKeyType(), unmappedValue);
/external/guava/guava/src/com/google/common/collect/
DRegularImmutableMultiset.java82 Map.Entry<E, Integer> mapEntry = mapIterator.next(); in entryIterator() local
83 return Multisets.immutableEntry(mapEntry.getKey(), mapEntry.getValue()); in entryIterator()
DAbstractMapBasedMultiset.java104 final Map.Entry<E, Count> mapEntry = backingEntries.next(); in entryIterator() local
105 toRemove = mapEntry; in entryIterator()
109 return mapEntry.getKey(); in entryIterator()
113 int count = mapEntry.getValue().get(); in entryIterator()
DConcurrentHashMultiset.java493 Map.Entry<E, AtomicInteger> mapEntry = mapEntries.next();
494 int count = mapEntry.getValue().get();
496 return Multisets.immutableEntry(mapEntry.getKey(), count);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DAbstractMapBasedMultiset.java101 final Map.Entry<E, Count> mapEntry = backingEntries.next(); in entryIterator() local
102 toRemove = mapEntry; in entryIterator()
106 return mapEntry.getKey(); in entryIterator()
110 int count = mapEntry.getValue().get(); in entryIterator()
/external/guava/guava-tests/test/com/google/common/collect/
DSimpleAbstractMultisetTest.java95 final Map.Entry<E, Integer> mapEntry = backingEntries.next(); in entryIterator() local
99 return mapEntry.getKey(); in entryIterator()
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/
DDOMOutputCapsule.java635 Element mapEntry = appendElement(XMLExporter.ELEMENT_MAPENTRY); in writeSavableMap() local
657 Element mapEntry = appendElement("MapEntry"); in writeStringSavableMap() local
658 mapEntry.setAttribute("key", key); in writeStringSavableMap()
678 Element mapEntry = appendElement("MapEntry"); in writeIntSavableMap() local
679 mapEntry.setAttribute("key", Integer.toString(key)); in writeIntSavableMap()