- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for LinkedHashMultimap (0.11 sec)
-
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
public void testValueSetHashTableExpansion() { LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); for (int z = 1; z <= 100; z++) { multimap.put("a", z); // The Eclipse compiler (and hence GWT) rejects a parameterized cast. @SuppressWarnings("unchecked") LinkedHashMultimap<String, Integer>.ValueSet valueSet = (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
} }, LinkedHashMultimapImpl { @Override <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( Multimap<K, V> contents) { return LinkedHashMultimap.create(contents); } }, TreeMultimapImpl { @Override <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( Multimap<K, V> contents) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
Map<String, List<Integer>> map = Multimaps.asMap(listMultimap); assertSame(listMultimap.asMap(), map); } public void testAsMap_setMultimap() { SetMultimap<String, Integer> setMultimap = LinkedHashMultimap.create(); Map<String, Set<Integer>> map = Multimaps.asMap(setMultimap); assertSame(setMultimap.asMap(), map); } public void testAsMap_sortedSetMultimap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
} }, LinkedHashMultimapImpl { @Override <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( Multimap<K, V> contents) { return LinkedHashMultimap.create(contents); } }, TreeMultimapImpl { @Override <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create( Multimap<K, V> contents) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap); @Override public SetMultimap<String, Integer> create(Object... elements) { SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); for (Object o : elements) { @SuppressWarnings("unchecked") Entry<String, Integer> entry = (Entry<String, Integer>) o; multimap.put(entry.getKey(), entry.getValue()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap); @Override public SetMultimap<String, Integer> create(Object... elements) { SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); for (Object o : elements) { @SuppressWarnings("unchecked") Entry<String, Integer> entry = (Entry<String, Integer>) o; multimap.put(entry.getKey(), entry.getValue()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* #synchronizedMultimap}. * * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link * HashMultimap#create()}, {@link LinkedHashMultimap#create()}, {@link * LinkedListMultimap#create()}, {@link TreeMultimap#create()}, and {@link * TreeMultimap#create(Comparator, Comparator)} won't suffice. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 86.3K bytes - Viewed (0)