/** * Asserts that the size of the given {@code Map} is equal to the size of the other {@code Map}. * * @param info contains information about the assertion. * @param map the given {@code Map}. * @param other the other {@code Map} to compare * @throws NullPointerException if the other {@code Map} is {@code null}. * @throws AssertionError if the given {@code Map} is {@code null}. * @throws AssertionError if the size of the given {@code Map} is not equal to the other {@code Map} size */ public void assertHasSameSizeAs(AssertionInfo info, Map<?, ?> map, Map<?, ?> other) { assertNotNull(info, map); hasSameSizeAsCheck(info, map, other, map.size()); }
/** * Asserts that the number of entries in the given {@code Map} has the same size as the other {@code Iterable}. * * @param info contains information about the assertion. * @param map the given {@code Map}. * @param other the group to compare * @throws AssertionError if the given {@code Map} is {@code null}. * @throws AssertionError if the given {@code Iterable} is {@code null}. * @throws AssertionError if the number of entries in the given {@code Map} does not have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, Map<?, ?> map, Iterable<?> other) { assertNotNull(info, map); hasSameSizeAsCheck(info, map, other, map.size()); }
/** * Asserts that the number of entries in the given {@code CharSequence} has the same size as the other * {@code Iterable}. * * @param info contains information about the assertion. * @param actual the given {@code CharSequence}. * @param other the group to compare * @throws AssertionError if the given {@code CharSequence} is {@code null}. * @throws AssertionError if the given {@code Iterable} is {@code null}. * @throws AssertionError if the number of entries in the given {@code CharSequence} does not have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, CharSequence actual, Iterable<?> other) { assertNotNull(info, actual); hasSameSizeAsCheck(info, actual, other, actual.length()); }
/** * Asserts that the number of entries in the given {@code Map} has the same size as the other {@code Iterable}. * * @param info contains information about the assertion. * @param map the given {@code Map}. * @param other the group to compare * @throws AssertionError if the given {@code Map} is {@code null}. * @throws AssertionError if the given {@code Iterable} is {@code null}. * @throws AssertionError if the number of entries in the given {@code Map} does not have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, Map<?, ?> map, Iterable<?> other) { assertNotNull(info, map); hasSameSizeAsCheck(info, map, other, map.size()); }
/** * Asserts that the size of the given {@code Map} is equal to the size of the other {@code Map}. * * @param info contains information about the assertion. * @param map the given {@code Map}. * @param other the other {@code Map} to compare * @throws NullPointerException if the other {@code Map} is {@code null}. * @throws AssertionError if the given {@code Map} is {@code null}. * @throws AssertionError if the size of the given {@code Map} is not equal to the other {@code Map} size */ public void assertHasSameSizeAs(AssertionInfo info, Map<?, ?> map, Map<?, ?> other) { assertNotNull(info, map); hasSameSizeAsCheck(info, map, other, map.size()); }
/** * Asserts that the number of entries in the given {@code CharSequence} has the same size as the other * {@code Iterable}. * * @param info contains information about the assertion. * @param actual the given {@code CharSequence}. * @param other the group to compare * @throws AssertionError if the given {@code CharSequence} is {@code null}. * @throws AssertionError if the given {@code Iterable} is {@code null}. * @throws AssertionError if the number of entries in the given {@code CharSequence} does not have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, CharSequence actual, Iterable<?> other) { assertNotNull(info, actual); hasSameSizeAsCheck(info, actual, other, actual.length()); }
/** * Asserts that the number of entries in the given {@code Map} has the same size as the other array. * * @param info contains information about the assertion. * @param map the given {@code Map}. * @param other the group to compare * @throws AssertionError if the given {@code Map} is {@code null}. * @throws AssertionError if the given array is {@code null}. * @throws AssertionError if the number of entries in the given {@code Map} does not have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, Map<?, ?> map, Object other) { assertNotNull(info, map); assertIsArray(info, other); hasSameSizeAsCheck(info, map, other, map.size()); }
void assertHasSameSizeAs(AssertionInfo info, Object array, Iterable<?> other) { assertNotNull(info, array); hasSameSizeAsCheck(info, array, other, sizeOf(array)); }
/** * Assert that the actual {@code Iterable} has the same size as the other {@code Iterable}. * * @param info contains information about the assertion. * @param actual the given {@code Iterable}. * @param other the given {@code Iterable}. * @throws AssertionError if the actual group is {@code null}. * @throws AssertionError if the other group is {@code null}. * @throws AssertionError if actual and other {@code Iterable} don't have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, Iterable<?> actual, Iterable<?> other) { assertNotNull(info, actual); hasSameSizeAsCheck(info, actual, other, sizeOf(actual)); }
/** * Asserts that the number of entries in the given {@code Map} has the same size as the other array. * * @param info contains information about the assertion. * @param map the given {@code Map}. * @param other the group to compare * @throws AssertionError if the given {@code Map} is {@code null}. * @throws AssertionError if the given array is {@code null}. * @throws AssertionError if the number of entries in the given {@code Map} does not have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, Map<?, ?> map, Object other) { assertNotNull(info, map); assertIsArray(info, other); hasSameSizeAsCheck(info, map, other, map.size()); }
/** * Asserts that the number of entries in the given {@code CharSequence} has the same size as the other array. * * @param info contains information about the assertion. * @param actual the given {@code CharSequence}. * @param array the array to compare * @throws AssertionError if the given {@code CharSequence} is {@code null}. * @throws AssertionError if the given array is {@code null}. * @throws AssertionError if the number of entries in the given {@code CharSequence} does not have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, CharSequence actual, Object array) { Objects.instance().assertNotNull(info, actual); assertIsArray(info, array); hasSameSizeAsCheck(info, actual, array, actual.length()); }
void assertHasSameSizeAs(AssertionInfo info, Object array, Iterable<?> other) { assertNotNull(info, array); hasSameSizeAsCheck(info, array, other, sizeOf(array)); }
/** * Assert that the actual {@code Iterable} has the same size as the other {@code Iterable}. * * @param info contains information about the assertion. * @param actual the given {@code Iterable}. * @param other the given {@code Iterable}. * @throws AssertionError if the actual group is {@code null}. * @throws AssertionError if the other group is {@code null}. * @throws AssertionError if actual and other {@code Iterable} don't have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, Iterable<?> actual, Iterable<?> other) { assertNotNull(info, actual); hasSameSizeAsCheck(info, actual, other, sizeOf(actual)); }
/** * Assert that the actual {@code Iterable} has the same size as the other array. * * @param info contains information about the assertion. * @param actual the given {@code Iterable}. * @param other the given array to compare. * @throws AssertionError if the actual group is {@code null}. * @throws AssertionError if the other group is {@code null}. * @throws AssertionError if actual {@code Iterable} and other array don't have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, Iterable<?> actual, Object other) { assertNotNull(info, actual); assertIsArray(info, other); hasSameSizeAsCheck(info, actual, other, sizeOf(actual)); }
/** * Asserts that the number of entries in the given {@code CharSequence} has the same size as the other array. * * @param info contains information about the assertion. * @param actual the given {@code CharSequence}. * @param array the array to compare * @throws AssertionError if the given {@code CharSequence} is {@code null}. * @throws AssertionError if the given array is {@code null}. * @throws AssertionError if the number of entries in the given {@code CharSequence} does not have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, CharSequence actual, Object array) { Objects.instance().assertNotNull(info, actual); assertIsArray(info, array); hasSameSizeAsCheck(info, actual, array, actual.length()); }
public void assertHasSameSizeAs(AssertionInfo info, Object array, Object other) { assertNotNull(info, array); assertIsArray(info, array); assertIsArray(info, other); hasSameSizeAsCheck(info, array, other, sizeOf(array)); }
/** * Assert that the actual {@code Iterable} has the same size as the other array. * * @param info contains information about the assertion. * @param actual the given {@code Iterable}. * @param other the given array to compare. * @throws AssertionError if the actual group is {@code null}. * @throws AssertionError if the other group is {@code null}. * @throws AssertionError if actual {@code Iterable} and other array don't have the same size. */ public void assertHasSameSizeAs(AssertionInfo info, Iterable<?> actual, Object other) { assertNotNull(info, actual); assertIsArray(info, other); hasSameSizeAsCheck(info, actual, other, sizeOf(actual)); }
public void assertHasSameSizeAs(AssertionInfo info, Object array, Object other) { assertNotNull(info, array); assertIsArray(info, array); assertIsArray(info, other); hasSameSizeAsCheck(info, array, other, sizeOf(array)); }
void assertHasSameSizeAs(AssertionInfo info, Object array, Iterable<?> other) { assertNotNull(info, array); hasSameSizeAsCheck(info, array, other, sizeOf(array)); }
public void assertHasSameSizeAs(AssertionInfo info, Object array, Object other) { assertNotNull(info, array); assertIsArray(info, array); assertIsArray(info, other); hasSameSizeAsCheck(info, array, other, sizeOf(array)); }