| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static <T extends Number> |
offset(T value)
Creates a new
Offset. |
String |
toString() |
public static <T extends Number> Offset<T> offset(T value)
Offset.value - the value of the offset.Offset.NullPointerException - if the given value is null.IllegalArgumentException - if the given value is negative.Copyright © 2014–2017 AssertJ. All rights reserved.