Package org.assertj.core.data
Class Offset<T extends Number>
java.lang.Object
org.assertj.core.data.Offset<T>
- Type Parameters:
T- the type of the offset value.
A positive offset.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
-
-
Constructor Details
-
Offset
-
-
Method Details
-
offset
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.
-
equals
-
hashCode
public int hashCode() -
toString
-