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
-
Nested Class Summary
Nested classes/interfaces inherited from interface Span
Span.DefaultSpanMap<N,S, V>, Span.DefaultSpanSet<N, S>, Span.Domain<N, S>, Span.Empty<N, S>, Span.MutableSpanMap<N, S, V>, Span.MutableSpanSet<N, S>, Span.SpanMap<N, S, V>, Span.SpanMapSetter<E, N, S, V>, Span.SpanSet<N, S> -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancontainsPoint(N n) Check if this interval contains the given valueMethods inherited from interface 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
-