HomeSort by relevance Sort by last modified time
    Searched refs:immutableEntry (Results 26 - 50 of 69) sorted by null

12 3

  /external/guava/guava/src/com/google/common/collect/
SortedIterables.java 168 sortedEntries.add(Multisets.immutableEntry(current, currentCount));
178 sortedEntries.add(Multisets.immutableEntry(current, currentCount));
191 return Multisets.immutableEntry(elem, 1);
ImmutableMap.java 139 return Maps.immutableEntry(
192 if (entry instanceof ImmutableEntry<?, ?>) {
196 Entry<K, V> immutableEntry = (Entry<K, V>) entry;
197 entries.add(immutableEntry);
LinkedHashMultimap.java 184 return Maps.immutableEntry(key, value);
273 linkedEntries.remove(Maps.immutableEntry(key, value));
390 linkedEntries.add(Maps.immutableEntry(key, value));
SingletonImmutableMap.java 54 ? (entry = Maps.immutableEntry(singleKey, singleValue)) : e;
ArrayTable.java 647 return Maps.<C, Map<R, V>>immutableEntry(columnList.get(index),
793 return Maps.<R, Map<C, V>>immutableEntry(rowList.get(index),
Multisets.java 290 public static <E> Multiset.Entry<E> immutableEntry(@Nullable E e, int n) {
291 return new ImmutableEntry<E>(e, n);
294 static final class ImmutableEntry<E> extends AbstractEntry<E> implements
299 ImmutableEntry(@Nullable E element, int count) {
393 return immutableEntry(elem, 1);
522 return Multisets.immutableEntry(element, count);
Multimaps.java     [all...]
ConcurrentHashMultiset.java 496 return Multisets.immutableEntry(mapEntry.getKey(), count);
ImmutableMultimap.java 533 return Maps.immutableEntry(key, valueIterator.next());
ImmutableSortedMultiset.java 97 NATURAL_ORDER, ImmutableList.of(Multisets.immutableEntry(checkNotNull(element), 1)));
  /external/guava/guava-tests/test/com/google/common/collect/
MapsTransformValuesUnmodifiableIteratorTest.java 335 assertTrue(entries.contains(Maps.immutableEntry("a", true)));
336 assertTrue(entries.contains(Maps.immutableEntry("b", (Boolean) null)));
338 Maps.immutableEntry((String) null, (Boolean) null)));
340 assertFalse(entries.contains(Maps.immutableEntry("c", (Boolean) null)));
341 assertFalse(entries.contains(Maps.immutableEntry((String) null, true)));
MapsTest.java 515 Maps.immutableEntry(4, "d"), Maps.immutableEntry(2, "b"));
517 Maps.immutableEntry(6, "z"));
519 Maps.immutableEntry(1, "a"));
521 Maps.immutableEntry(5, ValueDifferenceImpl.create("e", "g")),
522 Maps.immutableEntry(3, ValueDifferenceImpl.create("c", "f")));
530 Maps.immutableEntry(6, "z"));
532 Maps.immutableEntry(2, "b"), Maps.immutableEntry(4, "d"));
534 Maps.immutableEntry(1, "a"))
    [all...]
ConcurrentHashMultisetTest.java 268 Multisets.immutableEntry("a", 1),
269 Multisets.immutableEntry("b", 2),
270 Multisets.immutableEntry("c", 3),
271 Multisets.immutableEntry("d", 4),
272 Multisets.immutableEntry("e", 5));
ImmutableMapTest.java 309 .put(Maps.immutableEntry("one", 1))
317 builder.put(Maps.immutableEntry("one", (Integer) null));
322 builder.put(Maps.immutableEntry((String) null, 1));
571 Maps.immutableEntry("a", new IntHolder(3))));
ImmutableListMultimapTest.java 45 .put(Maps.immutableEntry("one", 1))
53 builder.put(Maps.immutableEntry("one", (Integer) null));
58 builder.put(Maps.immutableEntry((String) null, 1));
ImmutableSetMultimapTest.java 45 .put(Maps.immutableEntry("one", 1))
53 builder.put(Maps.immutableEntry("one", (Integer) null));
58 builder.put(Maps.immutableEntry((String) null, 1));
MultimapCollectionTest.java 213 Maps.immutableEntry("bar", 1),
214 Maps.immutableEntry("bar", 2),
215 Maps.immutableEntry("foo", 3),
216 Maps.immutableEntry("bar", 3),
217 Maps.immutableEntry("cat", 2));
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableMap.java 106 return Maps.immutableEntry(checkNotNull(key), checkNotNull(value));
120 if (entry instanceof ImmutableEntry<?, ?>) {
124 Entry<K, V> immutableEntry = (Entry<K, V>) entry;
125 entries.add(immutableEntry);
LinkedHashMultimap.java 180 return Maps.immutableEntry(key, value);
269 linkedEntries.remove(Maps.immutableEntry(key, value));
Multimaps.java     [all...]
ImmutableMultimap.java 523 return Maps.immutableEntry(key, valueIterator.next());
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
UnmodifiableCollectionTests.java 290 Maps.immutableEntry(sampleKey, sampleValueAsCollection));
305 Maps.immutableEntry(sampleKey, sampleValue));
MultisetNavigationTester.java 73 a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0)));
75 b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1)));
76 c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2)));
  /external/guava/guava-tests/test/com/google/common/cache/
LocalLoadingCacheTest.java 170 Maps.immutableEntry(three, one), Maps.immutableEntry(one, two));
EmptyCachesTest.java 387 return Maps.immutableEntry(key, value);

Completed in 873 milliseconds

12 3