/** * Assert that there are <b>at least</b> <i>n</i> array elements satisfying the given condition. * * @param <E> element type * @param info contains information about the assertion. * @param actual the given array. * @param n the minimum number of times the condition should be verified. * @param condition the given {@code Condition}. * @throws NullPointerException if the given condition is {@code null}. * @throws AssertionError if the number of elements satisfying the given condition is < n. */ public <E> void assertAreAtLeast(AssertionInfo info, E[] actual, int n, Condition<? super E> condition) { arrays.assertAreAtLeast(info, failures, conditions, actual, n, condition); }
/** * Assert that there are <b>at least</b> <i>n</i> array elements satisfying the given condition. * * @param <E> element type * @param info contains information about the assertion. * @param actual the given array. * @param n the minimum number of times the condition should be verified. * @param condition the given {@code Condition}. * @throws NullPointerException if the given condition is {@code null}. * @throws AssertionError if the number of elements satisfying the given condition is < n. */ public <E> void assertAreAtLeast(AssertionInfo info, E[] actual, int n, Condition<? super E> condition) { arrays.assertAreAtLeast(info, failures, conditions, actual, n, condition); }
/** * Assert that there is <b>at least</b> <i>n</i> array elements satisfying the given condition. * * @param info contains information about the assertion. * @param actual the given array. * @param n the minimum number of times the condition should be verified. * @param condition the given {@code Condition}. * @throws NullPointerException if the given condition is {@code null}. * @throws AssertionError if the number of elements satisfying the given condition is < n. */ public <E> void assertAreAtLeast(AssertionInfo info, E[] actual, int n, Condition<? super E> condition) { arrays.assertAreAtLeast(info, failures, conditions, actual, n, condition); }