|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.solder.util.collections.Sets
public class Sets
| Method Summary | ||
|---|---|---|
static
|
newHashSetWithExpectedSize(int expectedSize)
Creates an empty HashSet instance with enough capacity to hold the
specified number of elements without rehashing. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <E> HashSet<E> newHashSetWithExpectedSize(int expectedSize)
HashSet instance with enough capacity to hold the
specified number of elements without rehashing.
expectedSize - the expected size
HashSet with enough capacity to hold expectedSize elements without rehashing
IllegalArgumentException - if expectedSize is negative
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||