|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.openutils.testing.TestUtils
public final class TestUtils
| Method Summary | ||
|---|---|---|
static
|
listWith(T... elements)
Create a new list with all the elements. |
|
static
|
setWith(T... elements)
Create a new set with all the elements. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> java.util.Set<T> setWith(T... elements)
T - the type of the elements. Also used to allocate the set.elements - to put in the set.
public static <T> java.util.List<T> listWith(T... elements)
T - the type of the elements. Also used to allocate the list.elements - to put in the list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||