com.hazelcast.util
Class MapUtil

java.lang.Object
  extended by com.hazelcast.util.MapUtil

public final class MapUtil
extends Object

Utility class for Maps


Method Summary
static
<K,V> Map<K,V>
createHashMap(int expectedMapSize)
          Utility method that creates an HashMap with its initialCapacity calculated to minimize rehash operations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createHashMap

public static <K,V> Map<K,V> createHashMap(int expectedMapSize)
Utility method that creates an HashMap with its initialCapacity calculated to minimize rehash operations



Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.