Lines Matching defs:elements
17 public IsIn(T[] elements) {
18 collection = Arrays.asList(elements);
72 * @param elements
77 public static <T> Matcher<T> isIn(T[] elements) {
78 return in(elements);
87 * @param elements
91 public static <T> Matcher<T> in(T[] elements) {
92 return new IsIn<T>(elements);
97 * specified elements.
103 * @param elements
104 * the elements amongst which matching items will be found
108 public static <T> Matcher<T> isOneOf(T... elements) {
109 return oneOf(elements);
114 * specified elements.
118 * @param elements
119 * the elements amongst which matching items will be found
122 public static <T> Matcher<T> oneOf(T... elements) {
123 return in(elements);