/** * PUBLIC: * Construct a new IndirectMap with the same mappings as the given Map. * The IndirectMap is created with a capacity of twice the number of entries * in the given Map or 11 (whichever is greater), and a default load factor, which is 0.75. * @param m a map containing the mappings to use */ public IndirectMap(Map m) { super(0); this.initialize(m); }
/** * PUBLIC: * Construct a new IndirectMap with the same mappings as the given Map. * The IndirectMap is created with a capacity of twice the number of entries * in the given Map or 11 (whichever is greater), and a default load factor, which is 0.75. * @param m a map containing the mappings to use */ public IndirectMap(Map<? extends K, ? extends V> m) { super(0); this.initialize(m); }
/** * PUBLIC: * Construct a new IndirectMap with the same mappings as the given Map. * The IndirectMap is created with a capacity of twice the number of entries * in the given Map or 11 (whichever is greater), and a default load factor, which is 0.75. * @param m a map containing the mappings to use */ public IndirectMap(Map<? extends K, ? extends V> m) { super(0); this.initialize(m); }
/** * PUBLIC: * Construct a new, empty IndirectMap with the specified initial * capacity and load factor. * * @param initialCapacity the initial capacity of the hashtable * @param loadFactor a number between 0.0 and 1.0 * @exception IllegalArgumentException if the initial capacity is less * than or equal to zero, or if the load factor is less than * or equal to zero */ public IndirectMap(int initialCapacity, float loadFactor) { super(0); this.initialize(initialCapacity, loadFactor); }
/** * PUBLIC: * Construct a new, empty IndirectMap with the specified initial * capacity and load factor. * * @param initialCapacity the initial capacity of the hashtable * @param loadFactor a number between 0.0 and 1.0 * @exception IllegalArgumentException if the initial capacity is less * than or equal to zero, or if the load factor is less than * or equal to zero */ public IndirectMap(int initialCapacity, float loadFactor) { super(0); this.initialize(initialCapacity, loadFactor); }
/** * PUBLIC: * Construct a new, empty IndirectMap with the specified initial * capacity and load factor. * * @param initialCapacity the initial capacity of the hashtable * @param loadFactor a number between 0.0 and 1.0 * @exception IllegalArgumentException if the initial capacity is less * than or equal to zero, or if the load factor is less than * or equal to zero */ public IndirectMap(int initialCapacity, float loadFactor) { super(0); this.initialize(initialCapacity, loadFactor); }