Commit in lcsim/src/org/lcsim/util/hitmap on MAIN | |||
HitMap.java | +5 | 1.1 -> 1.2 |
Added constructor that specifies initial capacity.
diff -u -r1.1 -r1.2 --- HitMap.java 8 Feb 2006 22:34:12 -0000 1.1 +++ HitMap.java 20 Dec 2007 03:57:16 -0000 1.2 @@ -16,6 +16,11 @@
public HitMap() { super(); }
+ + /** Constructs an empty HitMap with the specified initial capacity and the default load factor (0.75). */ + public HitMap(int initialCapacity) { + super(initialCapacity); + }
/** Copy constructor. The name of the new HitMap is copied from the name of the old HitMap. */ public HitMap(HitMap map) {