|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.shards.util.Sets
public class Sets
Helper methods related to Sets.
| Method Summary | ||
|---|---|---|
static
|
newHashSet()
Construct a new HashSet, taking advantage of type inference to
avoid specifying the type on the rhs. |
|
static
|
newHashSet(E... elements)
Construct a new HashSet with the provided elements, taking advantage of type inference to
avoid specifying the type on the rhs. |
|
static
|
newHashSet(Iterable<? extends E> elements)
Construct a new HashSet with the contents of the provided Iterable, taking advantage of type inference to
avoid specifying the type on the rhs. |
|
| 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> newHashSet()
HashSet, taking advantage of type inference to
avoid specifying the type on the rhs.
public static <E> HashSet<E> newHashSet(E... elements)
HashSet with the provided elements, taking advantage of type inference to
avoid specifying the type on the rhs.
public static <E> HashSet<E> newHashSet(Iterable<? extends E> elements)
HashSet with the contents of the provided Iterable, taking advantage of type inference to
avoid specifying the type on the rhs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||