Package nl.vpro.domain.media.search
Class IntegerRange
java.lang.Object
nl.vpro.domain.media.search.IntegerRange
- All Implemented Interfaces:
Predicate<Long>
,Range<Long,
IntegerRange.Value>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from interface nl.vpro.domain.media.search.Range
Range.RangeValue<T extends Comparable<T>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull IntegerRange.Builder
builder()
static IntegerRange
equals
(long value) boolean
getStart()
getStop()
static IntegerRange
gte
(long start) int
hashCode()
void
setStart
(IntegerRange.Value start) void
setStop
(IntegerRange.Value stop) @NonNull String
toString()
static IntegerRange
zero()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface nl.vpro.domain.media.search.Range
getStartValue, getStopValue, hasValues, test, testStart, testStop
-
Constructor Details
-
IntegerRange
public IntegerRange() -
IntegerRange
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
equals
-
zero
-
gte
-
builder
-
toString
-
getStart
- Specified by:
getStart
in interfaceRange<Long,
IntegerRange.Value>
-
getStop
- Specified by:
getStop
in interfaceRange<Long,
IntegerRange.Value>
-
setStart
- Specified by:
setStart
in interfaceRange<Long,
IntegerRange.Value>
-
setStop
- Specified by:
setStop
in interfaceRange<Long,
IntegerRange.Value>
-