public class Index extends Object
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static Index |
atIndex(int value)
Creates a new
Index . |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public static Index atIndex(int value)
Index
.value
- the value of the index.Index
.IllegalArgumentException
- if the given value is negative.Copyright © 2014–2019 AssertJ. All rights reserved.