Class RangeableCallType<T extends java.lang.Comparable<T>>
- java.lang.Object
-
- com.seedfinding.latticg.reversal.calltype.CallType<T>
-
- com.seedfinding.latticg.reversal.calltype.RangeableCallType<T>
-
- Direct Known Subclasses:
NextDoubleCall
,NextFloatCall
,NextIntCall
,NextLongCall
,UnboundedNextIntCall
@Experimental public abstract class RangeableCallType<T extends java.lang.Comparable<T>> extends CallType<T>
-
-
Constructor Summary
Constructors Constructor Description RangeableCallType(java.lang.Class<T> type, int numCalls)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description CallType<java.lang.Boolean>
betweenEE(T min, T max)
CallType<java.lang.Boolean>
betweenEI(T min, T max)
CallType<java.lang.Boolean>
betweenIE(T min, T max)
CallType<java.lang.Boolean>
betweenII(T min, T max)
protected abstract RangeCallType<T>
createRangeCallType(T min, T max, boolean minStrict, boolean maxStrict, boolean inverted)
CallType<java.lang.Boolean>
equalTo(T value)
protected abstract T
getAbsoluteMax()
protected abstract T
getAbsoluteMin()
CallType<java.lang.Boolean>
greaterThan(T value)
CallType<java.lang.Boolean>
greaterThanEqual(T value)
protected boolean
isAbsoluteMaxStrict()
protected boolean
isAbsoluteMinStrict()
CallType<java.lang.Boolean>
lessThan(T value)
CallType<java.lang.Boolean>
lessThanEqual(T value)
-
Methods inherited from class com.seedfinding.latticg.reversal.calltype.CallType
getNumCalls, getType, not, notEqualTo
-
-
-
-
Constructor Detail
-
RangeableCallType
public RangeableCallType(java.lang.Class<T> type, int numCalls)
-
-
Method Detail
-
lessThanEqual
public CallType<java.lang.Boolean> lessThanEqual(T value)
- Overrides:
lessThanEqual
in classCallType<T extends java.lang.Comparable<T>>
-
greaterThan
public CallType<java.lang.Boolean> greaterThan(T value)
- Overrides:
greaterThan
in classCallType<T extends java.lang.Comparable<T>>
-
greaterThanEqual
public CallType<java.lang.Boolean> greaterThanEqual(T value)
- Overrides:
greaterThanEqual
in classCallType<T extends java.lang.Comparable<T>>
-
createRangeCallType
protected abstract RangeCallType<T> createRangeCallType(T min, T max, boolean minStrict, boolean maxStrict, boolean inverted)
-
getAbsoluteMin
protected abstract T getAbsoluteMin()
-
getAbsoluteMax
protected abstract T getAbsoluteMax()
-
isAbsoluteMinStrict
protected boolean isAbsoluteMinStrict()
-
isAbsoluteMaxStrict
protected boolean isAbsoluteMaxStrict()
-
-