/** {@inheritDoc} */ @Override public SELF isIn(Object... values) { objects.assertIsIn(info, actual, values); return myself; }
/** {@inheritDoc} */ @Override public SELF isIn(Iterable<?> values) { objects.assertIsIn(info, actual, values); return myself; }
/** {@inheritDoc} */ @Override public SELF isIn(Object... values) { objects.assertIsIn(info, actual, values); return myself; }
/** {@inheritDoc} */ @Override public SELF isIn(Iterable<?> values) { objects.assertIsIn(info, actual, values); return myself; }
/** * Asserts that the given object is present in the given array. * * @param info contains information about the assertion. * @param actual the given object. * @param values the given array. * @throws NullPointerException if the given array is {@code null}. * @throws IllegalArgumentException if the given array is empty. * @throws AssertionError if the given object is not present in the given array. */ public void assertIsIn(AssertionInfo info, Object actual, Object[] values) { checkIsNotNullAndNotEmpty(values); assertIsIn(info, actual, asList(values)); }
/** * Asserts that the given object is present in the given array. * * @param info contains information about the assertion. * @param actual the given object. * @param values the given array. * @throws NullPointerException if the given array is {@code null}. * @throws IllegalArgumentException if the given array is empty. * @throws AssertionError if the given object is not present in the given array. */ public void assertIsIn(AssertionInfo info, Object actual, Object[] values) { checkIsNotNullAndNotEmpty(values); assertIsIn(info, actual, asList(values)); }
/** {@inheritDoc} */ @Override public S isIn(Iterable<?> values) { objects.assertIsIn(info, actual, values); return myself; }
/** {@inheritDoc} */ @Override public S isIn(Object... values) { objects.assertIsIn(info, actual, values); return myself; }