Uses of Class
org.assertj.core.data.Index
Packages that use Index
Package
Description
-
Uses of Index in org.assertj.core.api
Methods in org.assertj.core.api that return IndexModifier and TypeMethodDescriptionstatic Index
Assertions.atIndex
(int index) Only delegate toatIndex(int)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useIndex
if you prefer).static Index
AssertionsForClassTypes.atIndex
(int index) Only delegate toatIndex(int)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useIndex
if you prefer).static Index
Java6Assertions.atIndex
(int index) Only delegate toatIndex(int)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useIndex
if you prefer).default Index
WithAssertions.atIndex
(int actual) Delegate call toAssertions.atIndex(int)
Methods in org.assertj.core.api with parameters of type IndexModifier and TypeMethodDescriptionVerifies that the actual array contains the given value at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual group contains the given object at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual array contains the given object at the given index.Verifies that the actual array contains the given value at the given index.Verifies that the actual atomic array contains the given value at the given index.Verifies that the actual atomic array contains the given value at the given index.Verifies that the actual AtomicReferenceArray contains the given object at the given index.Verifies that the actual group contains the given object at the given index.AbstractBooleanArrayAssert.doesNotContain
(boolean value, Index index) Verifies that the actual array does not contain the given value at the given index.AbstractByteArrayAssert.doesNotContain
(byte value, Index index) Verifies that the actual array does not contain the given value at the given index.AbstractByteArrayAssert.doesNotContain
(int value, Index index) Verifies that the actual array does not contain the given value at the given index.AbstractCharArrayAssert.doesNotContain
(char value, Index index) Verifies that the actual array does not contain the given value at the given index.AbstractDoubleArrayAssert.doesNotContain
(double value, Index index) Verifies that the actual array does not contain the given value at the given index.AbstractDoubleArrayAssert.doesNotContain
(double value, Index index, Offset<Double> precision) Verifies that the actual array does not contain the given value at the given index.AbstractFloatArrayAssert.doesNotContain
(float value, Index index) Verifies that the actual array does not contain the given value at the given index.AbstractFloatArrayAssert.doesNotContain
(float value, Index index, Offset<Float> precision) Verifies that the actual array does not contain the given value at the given index.AbstractIntArrayAssert.doesNotContain
(int value, Index index) Verifies that the actual array does not contain the given value at the given index.AbstractListAssert.doesNotContain
(ELEMENT value, Index index) Verifies that the actual group does not contain the given object at the given index.AbstractLongArrayAssert.doesNotContain
(long value, Index index) Verifies that the actual array does not contain the given value at the given index.AbstractObjectArrayAssert.doesNotContain
(ELEMENT value, Index index) Verifies that the actual array does not contain the given object at the given index.AbstractShortArrayAssert.doesNotContain
(short value, Index index) Verifies that the actual array does not contain the given value at the given index.AtomicIntegerArrayAssert.doesNotContain
(int value, Index index) Verifies that the actual atomic array does not contain the given value at the given index.AtomicLongArrayAssert.doesNotContain
(long value, Index index) Verifies that the actual atomic array does not contain the given value at the given index.AtomicReferenceArrayAssert.doesNotContain
(T value, Index index) Verifies that the actual AtomicReferenceArray does not contain the given object at the given index.IndexedObjectEnumerableAssert.doesNotContain
(ELEMENT value, Index index) Verifies that the actual group does not contain the given object at the given index.Verifies that the actual object at the given index in the actual group satisfies the given condition.Verifies that the actual object at the given index in the actual group satisfies the given condition. -
Uses of Index in org.assertj.core.data
Methods in org.assertj.core.data that return Index -
Uses of Index in org.assertj.core.error
Methods in org.assertj.core.error with parameters of type IndexModifier and TypeMethodDescriptionstatic <T> ErrorMessageFactory
ShouldBeAtIndex.shouldBeAtIndex
(List<? extends T> actual, Condition<? super T> condition, Index index, T found) Creates a newShouldBeAtIndex
.static ErrorMessageFactory
ShouldContainAtIndex.shouldContainAtIndex
(Object actual, Object expected, Index index, Object found) Creates a newShouldContainAtIndex
.static ErrorMessageFactory
ShouldContainAtIndex.shouldContainAtIndex
(Object actual, Object expected, Index index, Object found, ComparisonStrategy comparisonStrategy) Creates a newShouldContainAtIndex
.static <T> ErrorMessageFactory
ShouldHaveAtIndex.shouldHaveAtIndex
(List<? extends T> actual, Condition<? super T> condition, Index index, T found) Creates a newShouldHaveAtIndex
.static ErrorMessageFactory
ShouldNotContainAtIndex.shouldNotContainAtIndex
(Object actual, Object expected, Index index) Creates a newShouldNotContainAtIndex
.static ErrorMessageFactory
ShouldNotContainAtIndex.shouldNotContainAtIndex
(Object actual, Object expected, Index index, ComparisonStrategy comparisonStrategy) Creates a newShouldNotContainAtIndex
.Constructors in org.assertj.core.error with parameters of type IndexModifierConstructorDescriptionprivate
ShouldBeAtIndex
(List<? extends T> actual, Condition<? super T> condition, Index index, T found) private
ShouldContainAtIndex
(Object actual, Object expected, Index index, Object found, ComparisonStrategy comparisonStrategy) private
ShouldHaveAtIndex
(List<? extends T> actual, Condition<? super T> condition, Index index, T found) private
ShouldNotContainAtIndex
(Object actual, Object expected, Index index, ComparisonStrategy comparisonStrategy) -
Uses of Index in org.assertj.core.internal
Methods in org.assertj.core.internal with parameters of type IndexModifier and TypeMethodDescription(package private) void
Arrays.assertContains
(AssertionInfo info, Failures failures, Object array, Object value, Index index) void
BooleanArrays.assertContains
(AssertionInfo info, boolean[] actual, boolean value, Index index) Verifies that the given array contains the given value at the given index.void
ByteArrays.assertContains
(AssertionInfo info, byte[] actual, byte value, Index index) Verifies that the given array contains the given value at the given index.void
ByteArrays.assertContains
(AssertionInfo info, byte[] actual, int value, Index index) Verifies that the given array contains the given value at the given index.void
CharArrays.assertContains
(AssertionInfo info, char[] actual, char value, Index index) Verifies that the given array contains the given value at the given index.void
DoubleArrays.assertContains
(AssertionInfo info, double[] actual, double value, Index index) Verifies that the given array contains the given value at the given index.void
FloatArrays.assertContains
(AssertionInfo info, float[] actual, float value, Index index) Verifies that the given array contains the given value at the given index.void
IntArrays.assertContains
(AssertionInfo info, int[] actual, int value, Index index) Verifies that the given array contains the given value at the given index.void
Lists.assertContains
(AssertionInfo info, List<?> actual, Object value, Index index) Verifies that the givenList
contains the given object at the given index.void
LongArrays.assertContains
(AssertionInfo info, long[] actual, long value, Index index) Verifies that the given array contains the given value at the given index.void
ObjectArrays.assertContains
(AssertionInfo info, Object[] actual, Object value, Index index) Verifies that the given array contains the given object at the given index.void
ShortArrays.assertContains
(AssertionInfo info, short[] actual, short value, Index index) Verifies that the given array contains the given value at the given index.(package private) void
Arrays.assertDoesNotContain
(AssertionInfo info, Failures failures, Object array, Object value, Index index) void
BooleanArrays.assertDoesNotContain
(AssertionInfo info, boolean[] actual, boolean value, Index index) Verifies that the given array does not contain the given value at the given index.void
ByteArrays.assertDoesNotContain
(AssertionInfo info, byte[] actual, byte value, Index index) Verifies that the given array does not contain the given value at the given index.void
ByteArrays.assertDoesNotContain
(AssertionInfo info, byte[] actual, int value, Index index) Verifies that the given array does not contain the given value at the given index.void
CharArrays.assertDoesNotContain
(AssertionInfo info, char[] actual, char value, Index index) Verifies that the given array does not contain the given value at the given index.void
DoubleArrays.assertDoesNotContain
(AssertionInfo info, double[] actual, double value, Index index) Verifies that the given array does not contain the given value at the given index.void
FloatArrays.assertDoesNotContain
(AssertionInfo info, float[] actual, float value, Index index) Verifies that the given array does not contain the given value at the given index.void
IntArrays.assertDoesNotContain
(AssertionInfo info, int[] actual, int value, Index index) Verifies that the given array does not contain the given value at the given index.void
Lists.assertDoesNotContain
(AssertionInfo info, List<?> actual, Object value, Index index) Verifies that the givenList
does not contain the given object at the given index.void
LongArrays.assertDoesNotContain
(AssertionInfo info, long[] actual, long value, Index index) Verifies that the given array does not contain the given value at the given index.void
ObjectArrays.assertDoesNotContain
(AssertionInfo info, Object[] actual, Object value, Index index) Verifies that the given array does not contain the given object at the given index.void
ShortArrays.assertDoesNotContain
(AssertionInfo info, short[] actual, short value, Index index) Verifies that the given array does not contain the given value at the given index.<T> void
Lists.assertHas
(AssertionInfo info, List<? extends T> actual, Condition<? super T> condition, Index index) Verifies that the givenList
satisfies the given
at the given index.Condition
<T> void
Lists.assertIs
(AssertionInfo info, List<? extends T> actual, Condition<? super T> condition, Index index) Verifies that the givenList
satisfies the given
at the given index.Condition
(package private) static void
CommonValidations.checkIndexValueIsValid
(Index index, int maximum) private <T> boolean
Lists.conditionIsMetAtIndex
(AssertionInfo info, List<T> actual, Condition<? super T> condition, Index index)