Package io.karma.kommons.range
Class ImmutableLongRange
java.lang.Object
io.karma.kommons.range.ImmutableLongRange
- All Implemented Interfaces:
LongRange
- Since:
- 10/03/2022
-
Field Summary
-
Constructor Summary
ConstructorDescriptionImmutableLongRange
(long start, long end) ImmutableLongRange
(LongRange range) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.karma.kommons.range.LongRange
boxed, getDistance, mapToList
-
Field Details
-
start
public final long start -
end
public final long end
-
-
Constructor Details
-
ImmutableLongRange
public ImmutableLongRange(long start, long end) -
ImmutableLongRange
-
-
Method Details
-
getStart
public long getStart() -
getEnd
public long getEnd() -
hashCode
public int hashCode() -
equals
-
toString
-