Package org.assertj.core.data
Class Index
java.lang.Object
org.assertj.core.data.Index
A positive index.
- Author:
- Alex Ruiz
-
Field Summary
-
Method Summary
-
Field Details
-
value
public final int value
-
-
Method Details
-
atIndex
Creates a newIndex
.- Parameters:
value
- the value of the index.- Returns:
- the created
Index
. - Throws:
IllegalArgumentException
- if the given value is negative.
-
equals
-
hashCode
public int hashCode() -
toString
-