java.lang.Object
org.omnifaces.utils.data.AbstractRange<N>
- All Implemented Interfaces:
Serializable
,Range<N>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
boolean
Check if a given value is contained within this rangeboolean
int
hashCode()
boolean
intersects
(Range<N> other) Check if the given range intersects the current range.toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.omnifaces.utils.data.Range
getMax, getMin, isMaxInclusive, isMinInclusive, stream, withMax, withMaxInclusive, withMin, withMinInclusive
-
Constructor Details
-
AbstractRange
public AbstractRange()
-
-
Method Details
-
intersects
Description copied from interface:Range
Check if the given range intersects the current range.- Specified by:
intersects
in interfaceRange<N>
- Parameters:
other
- the range to check against the current range- Returns:
true
if both ranges intersect andfalse
otherwise
-
compare
-
contains
Description copied from interface:Range
Check if a given value is contained within this range -
equals
-
hashCode
public int hashCode() -
toString
-