Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static Offset<BigDecimal> |
offset(BigDecimal value)
Creates a new
Offset . |
static Offset<Double> |
offset(Double value)
Creates a new
Offset . |
static Offset<Float> |
offset(Float value)
Creates a new
Offset . |
static Offset<Integer> |
offset(Integer value)
Creates a new
Offset . |
String |
toString() |
public static Offset<Double> offset(Double value)
Offset
.value
- the value of the offset.Offset
.NullPointerException
- if the given value is null
.IllegalArgumentException
- if the given value is negative.public static Offset<Float> offset(Float value)
Offset
.value
- the value of the offset.Offset
.NullPointerException
- if the given value is null
.IllegalArgumentException
- if the given value is negative.public static Offset<Integer> offset(Integer value)
Offset
.value
- the value of the offset.Offset
.NullPointerException
- if the given value is null
.IllegalArgumentException
- if the given value is negative.public static Offset<BigDecimal> offset(BigDecimal value)
Offset
.value
- the value of the offset.Offset
.NullPointerException
- if the given value is null
.IllegalArgumentException
- if the given value is negative.Copyright © 2013-2014 AssertJ. All Rights Reserved.