Package org.assertj.core.data
Class Offset<T extends Number>
- java.lang.Object
-
- org.assertj.core.data.Offset<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()static <T extends Number>
Offset<T>offset(T value)Creates a newOffset.StringtoString()
-
-
-
Method Detail
-
offset
public static <T extends Number> Offset<T> offset(T value)
Creates a newOffset.- Parameters:
value- the value of the offset.- Returns:
- the created
Offset. - Throws:
NullPointerException- if the given value isnull.IllegalArgumentException- if the given value is negative.
-
-