Package generic
Record Class ULongSpan.Impl
java.lang.Object
java.lang.Record
generic.ULongSpan.Impl
- Enclosing interface:
ULongSpan
A non-empty span of unsigned longs
-
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.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>> Nested classes/interfaces inherited from interface generic.ULongSpan
ULongSpan.DefaultULongSpanMap<V>, ULongSpan.DefaultULongSpanSet, ULongSpan.Domain, ULongSpan.Empty, ULongSpan.Impl, ULongSpan.MutableULongSpanMap<V>, ULongSpan.MutableULongSpanSet, ULongSpan.ULongSpanMap<V>, ULongSpan.ULongSpanSet
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondomain()
Get the domain of this span's endpointsfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.max()
Returns the value of themax
record component.min()
Returns the value of themin
record component.toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface generic.Span
bound, compareTo, contains, doToString, encloses, intersect, intersects, isEmpty, maxIsFinite, minIsFinite, subtract
-
Constructor Details
-
Impl
Creates an instance of aImpl
record class.- Parameters:
min
- the value for themin
record componentmax
- the value for themax
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
domain
Description copied from interface:Span
Get the domain of this span's endpoints -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
min
Returns the value of themin
record component. -
max
Returns the value of themax
record component.
-