Home
last modified time | relevance | path

Searched refs:newHashMapWithExpectedSize (Results 1 – 25 of 37) sorted by relevance

12

/external/guava/android/guava/src/com/google/common/collect/
DHashMultimap.java98 super(Platform.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in HashMultimap()
104 super(Platform.<K, Collection<V>>newHashMapWithExpectedSize(multimap.keySet().size())); in HashMultimap()
135 Map<K, Collection<V>> map = Platform.newHashMapWithExpectedSize(12); in readObject()
DPlatform.java33 static <K, V> Map<K, V> newHashMapWithExpectedSize(int expectedSize) { in newHashMapWithExpectedSize() method in Platform
DArrayListMultimap.java112 super(Platform.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in ArrayListMultimap()
DEnumHashBiMap.java75 Maps.<V, K>newHashMapWithExpectedSize(keyType.getEnumConstants().length)); in EnumHashBiMap()
DMultimapBuilder.java90 return Platform.newHashMapWithExpectedSize(expectedKeys); in hashKeys()
DLinkedListMultimap.java196 keyToKeyList = Platform.newHashMapWithExpectedSize(expectedKeys); in LinkedListMultimap()
DMaps.java215 public static <K, V> HashMap<K, V> newHashMapWithExpectedSize(int expectedSize) {
/external/guava/guava/src/com/google/common/collect/
DHashMultimap.java98 super(Platform.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in HashMultimap()
104 super(Platform.<K, Collection<V>>newHashMapWithExpectedSize(multimap.keySet().size())); in HashMultimap()
135 Map<K, Collection<V>> map = Platform.newHashMapWithExpectedSize(12); in readObject()
DPlatform.java36 static <K, V> Map<K, V> newHashMapWithExpectedSize(int expectedSize) { in newHashMapWithExpectedSize() method in Platform
37 return Maps.newHashMapWithExpectedSize(expectedSize); in newHashMapWithExpectedSize()
DJdkBackedImmutableBiMap.java34 Map<K, V> forwardDelegate = Maps.newHashMapWithExpectedSize(n); in create()
35 Map<V, K> backwardDelegate = Maps.newHashMapWithExpectedSize(n); in create()
DHashMultiset.java70 super(Maps.<E, Count>newHashMapWithExpectedSize(distinctElements)); in HashMultiset()
DJdkBackedImmutableMultiset.java40 Map<E, Integer> delegateMap = Maps.newHashMapWithExpectedSize(entriesArray.length); in create()
DJdkBackedImmutableMap.java39 Map<K, V> delegateMap = Maps.newHashMapWithExpectedSize(n); in create()
DArrayListMultimap.java112 super(Platform.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in ArrayListMultimap()
DEnumHashBiMap.java75 Maps.<V, K>newHashMapWithExpectedSize(keyType.getEnumConstants().length)); in EnumHashBiMap()
DMultimapBuilder.java90 return Platform.newHashMapWithExpectedSize(expectedKeys); in hashKeys()
DLinkedListMultimap.java198 keyToKeyList = Platform.newHashMapWithExpectedSize(expectedKeys); in LinkedListMultimap()
DMaps.java316 public static <K, V> HashMap<K, V> newHashMapWithExpectedSize(int expectedSize) {
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DPlatform.java34 static <K, V> Map<K, V> newHashMapWithExpectedSize(int expectedSize) { in newHashMapWithExpectedSize() method in Platform
35 return Maps.newHashMapWithExpectedSize(expectedSize); in newHashMapWithExpectedSize()
/external/guava/android/guava/src/com/google/common/graph/
DElementOrder.java193 return Maps.newHashMapWithExpectedSize(expectedSize); in createMap()
DGraphs.java68 Maps.newHashMapWithExpectedSize(graph.nodes().size()); in hasCycle()
/external/guava/guava/src/com/google/common/graph/
DElementOrder.java192 return Maps.newHashMapWithExpectedSize(expectedSize); in createMap()
DGraphs.java69 Maps.newHashMapWithExpectedSize(graph.nodes().size()); in hasCycle()
/external/guava/android/guava-tests/test/com/google/common/collect/
DMapsTest.java125 assertTrue(bucketsOf(Maps.newHashMapWithExpectedSize(0)) <= 1); in testNewHashMapWithExpectedSize_wontGrow()
129 size, Maps.newHashMapWithExpectedSize(size), Maps.newHashMapWithExpectedSize(size)); in testNewHashMapWithExpectedSize_wontGrow()
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTest.java125 assertTrue(bucketsOf(Maps.newHashMapWithExpectedSize(0)) <= 1); in testNewHashMapWithExpectedSize_wontGrow()
129 size, Maps.newHashMapWithExpectedSize(size), Maps.newHashMapWithExpectedSize(size)); in testNewHashMapWithExpectedSize_wontGrow()

12