Package generic
Interface End.EndSpan<N,S extends End.EndSpan<N,S>>
- Type Parameters:
N- the type of valuesS- the type of spans
- All Superinterfaces:
Comparable<S>,Span<End<N>,S>
- All Known Subinterfaces:
FieldSpan
- All Known Implementing Classes:
FieldSpan.Empty,FieldSpan.Impl
An interface of intervals with open, closed, or unbounded endpoints
-
Nested Class Summary
Nested classes/interfaces inherited from interface generic.Span
Span.DefaultSpanMap<N,S extends Span<N, S>, V>, Span.DefaultSpanSet<N, S extends Span<N, S>>, Span.Domain<N, S extends Span<N, S>>, Span.Empty<N, S extends Span<N, S>>, Span.MutableSpanMap<N, S extends Span<N, S>, V>, Span.MutableSpanSet<N, S extends Span<N, S>>, Span.SpanMap<N, S extends Span<N, S>, V>, Span.SpanMapSetter<E, N, S extends Span<N, S>, V>, Span.SpanSet<N, S extends Span<N, S>> -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancontainsPoint(N n) Check if this interval contains the given valueMethods inherited from interface generic.Span
bound, compareTo, contains, domain, encloses, intersect, intersects, isEmpty, max, maxIsFinite, min, minIsFinite, subtract, toString
-
Method Details
-
containsPoint
Check if this interval contains the given valueThis is equivalent to, and a shortcut for,
Span.contains(Object), passingvalue + 0*epsilon.- Parameters:
n- the value- Returns:
- true if contained
-