Class AbstractRange<T>
java.lang.Object
net.hl.lang.defaults.AbstractRange<T>
- All Implemented Interfaces:
Range<T>
- Direct Known Subclasses:
AbstractComparableRange, DefaultRange
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractRange(boolean startExclusive, boolean endExclusive) -
Method Summary
-
Field Details
-
startExclusive
protected boolean startExclusive -
endExclusive
protected boolean endExclusive
-
-
Constructor Details
-
AbstractRange
protected AbstractRange() -
AbstractRange
protected AbstractRange(boolean startExclusive, boolean endExclusive)
-
-
Method Details
-
isStartExclusive
public boolean isStartExclusive()- Specified by:
isStartExclusivein interfaceRange<T>
-
isStartInclusive
public boolean isStartInclusive()- Specified by:
isStartInclusivein interfaceRange<T>
-
isEndExclusive
public boolean isEndExclusive()- Specified by:
isEndExclusivein interfaceRange<T>
-
isEndInclusive
public boolean isEndInclusive()- Specified by:
isEndInclusivein interfaceRange<T>
-
toString
-
equals
-
hashCode
-