Class CollectionUtils

java.lang.Object
org.pkl.core.util.CollectionUtils

public final class CollectionUtils extends Object
  • Method Details

    • newHashSet

      public static <T> HashSet<T> newHashSet()
    • newHashSet

      public static <T> HashSet<T> newHashSet(int expectedSize)
    • newLinkedHashSet

      public static <T> LinkedHashSet<T> newLinkedHashSet(int expectedSize)
    • newHashMap

      public static <K, V> HashMap<K,V> newHashMap(int expectedSize)
    • newLinkedHashMap

      public static <K, V> LinkedHashMap<K,V> newLinkedHashMap(int expectedSize)
    • newConcurrentHashMap

      public static <K, V> ConcurrentHashMap<K,V> newConcurrentHashMap(int expectedSize)