Package generic
Interface ULongSpan
- All Superinterfaces:
 Comparable<ULongSpan>,Span<Long,ULongSpan> 
- All Known Implementing Classes:
 ULongSpan.Empty,ULongSpan.Impl
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn interval tree implementingULongSpan.MutableULongSpanMapstatic classAn interval tree implementingULongSpan.MutableULongSpanSetstatic enumThe domain of unsigned longsstatic classThe singleton empty span of unsigned longsstatic final recordA non-empty span of unsigned longsstatic interfaceA mutable map of unsigned long spans to valuesstatic interfaceA mutable set of unsigned long spansstatic interfaceA map of unsigned long spans to valuesstatic interfaceA set of unsigned long spansNested 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.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>>  - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ULongSpan.Implstatic final ULongSpan.Domainstatic final ULongSpan.Empty - 
Method Summary
Modifier and TypeMethodDescriptionstatic ULongSpanextent(long min, int length) Create a closed interval of unsigned longs having the given (unsigned) lengthstatic ULongSpanextent(long min, long length) Create a closed interval of unsigned longs having a given lengthdefault longlength()Get the length of the spanstatic ULongSpanspan(long min, long max) Create a closed interval of unsigned longsMethods inherited from interface generic.Span
bound, compareTo, contains, domain, encloses, intersect, intersects, isEmpty, max, maxIsFinite, min, minIsFinite, subtract, toString 
- 
Field Details
- 
DOMAIN
 - 
EMPTY
 - 
ALL
 
 - 
 - 
Method Details
- 
span
Create a closed interval of unsigned longs- Parameters:
 min- the lower boundmax- the upper bound- Returns:
 - the span
 - Throws:
 IllegalArgumentException- ifmax < min
 - 
extent
Create a closed interval of unsigned longs having a given length- Parameters:
 min- the lower boundlength- the length- Returns:
 - the span
 - Throws:
 IllegalArgumentException- if the upper endpoint would exceedULongSpan.Domain.max()
 - 
extent
Create a closed interval of unsigned longs having the given (unsigned) lengthThis operates the same as
extent(long, int), but ensures the given length is treated as an unsigned integer.- Parameters:
 min-length-- Returns:
 - the span
 - Throws:
 IllegalArgumentException- if the upper endpoint would exceedULongSpan.Domain.max()
 - 
length
default long length()Get the length of the span- Returns:
 - the length
 
 
 -