Class CollectionFactory


  • public class CollectionFactory
    extends java.lang.Object
    Creates collections. Used to easily change collection implementations.
    Version:
    1.0, Nov 26, 2010
    Author:
    stm
    • Constructor Detail

      • CollectionFactory

        public CollectionFactory()
    • Method Detail

      • createMap

        public static <K,​V> java.util.Map<K,​V> createMap​(int i,
                                                                     float f)
      • createMap

        public static <K,​V> java.util.Map<K,​V> createMap​(int i)
      • createMap

        public static <K,​V> java.util.Map<K,​V> createMap()
      • createOrderedMap

        public static <K,​V> java.util.Map<K,​V> createOrderedMap​(int i,
                                                                            float f)
      • createOrderedMap

        public static <K,​V> java.util.Map<K,​V> createOrderedMap​(int i)
      • createOrderedMap

        public static <K,​V> java.util.Map<K,​V> createOrderedMap()
      • createSyncMap

        public static <K,​V> java.util.Map<K,​V> createSyncMap​(int i,
                                                                         float f)
      • createSyncMap

        public static <K,​V> java.util.Map<K,​V> createSyncMap​(int i)
      • createSyncMap

        public static <K,​V> java.util.Map<K,​V> createSyncMap()
      • createSyncOrderedMap

        public static <K,​V> java.util.Map<K,​V> createSyncOrderedMap​(int i,
                                                                                float f)
      • createSyncOrderedMap

        public static <K,​V> java.util.Map<K,​V> createSyncOrderedMap​(int i)
      • createSyncOrderedMap

        public static <K,​V> java.util.Map<K,​V> createSyncOrderedMap()
      • createSyncOrderedMap

        public static <K,​V> java.util.Map<K,​V> createSyncOrderedMap​(java.util.Map<K,​V> map)