Package threshold.lab
Class GreaterThanThresholdPredicate
java.lang.Object
threshold.lab.GreaterThanThresholdPredicate
- All Implemented Interfaces:
IntPredicate
- Author:
- __STUDENT_NAME__, Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
-
Constructor Details
-
GreaterThanThresholdPredicate
public GreaterThanThresholdPredicate(int threshold)
-
-
Method Details
-
getThreshold
public int getThreshold() -
test
public boolean test(int value)- Specified by:
testin interfaceIntPredicate
-
toString
-