Package org.fest.assertions
Class Threshold
java.lang.Object
org.fest.assertions.Threshold
Understands a threshold.
- Since:
- 1.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
private final int value
-
-
Constructor Details
-
Threshold
private Threshold(int value)
-
-
Method Details
-
threshold
Creates a new
.Threshold
- Parameters:
value
- the value of the threshold.- Returns:
- the created instance.
- Throws:
IllegalArgumentException
- if the given value is less than zero.
-
value
public int value()
-