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 intbooleanCheck if a given value is contained within this rangebooleaninthashCode()booleanintersects(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, waitMethods 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:RangeCheck if the given range intersects the current range.- Specified by:
intersectsin interfaceRange<N>- Parameters:
other- the range to check against the current range- Returns:
trueif both ranges intersect andfalseotherwise
-
compare
-
contains
Description copied from interface:RangeCheck if a given value is contained within this range -
equals
-
hashCode
public int hashCode() -
toString
-