Package ghidra.trace.model
Record Class Lifespan.Impl
java.lang.Object
java.lang.Record
ghidra.trace.model.Lifespan.Impl
- Record Components:
lmin- the minimum snaplmax- the maximum snap
- Enclosing interface:
Lifespan
A non-empty lifespan of snapshot keys
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.trace.model.Lifespan
Lifespan.DefaultLifeSet, Lifespan.Domain, Lifespan.Empty, Lifespan.Impl, Lifespan.LifeSet, Lifespan.MutableLifeSetNested 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(long n) booleanCheck if this span contains the given valuefinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.iterator()longlmax()Returns the value of thelmaxrecord component.longlmin()Returns the value of thelminrecord component.max()Get the upper endpointbooleanCheck if the upper endpoint excludes the domain maximummin()Get the lower enpdointbooleanCheck if the lower endpoint excludes the domain minimumtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
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. -
contains
public boolean contains(long n) -
contains
Description copied from interface:SpanCheck if this span contains the given value -
min
Description copied from interface:SpanGet the lower enpdoint -
max
Description copied from interface:SpanGet the upper endpoint -
minIsFinite
public boolean minIsFinite()Description copied from interface:SpanCheck if the lower endpoint excludes the domain minimum- Specified by:
minIsFinitein interfaceSpan<Long,Lifespan> - Returns:
- true if min is not the domain min
-
maxIsFinite
public boolean maxIsFinite()Description copied from interface:SpanCheck if the upper endpoint excludes the domain maximum- Specified by:
maxIsFinitein interfaceSpan<Long,Lifespan> - Returns:
- true if max is not the domain max
-
iterator
-
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 with '=='. -
lmin
public long lmin()Returns the value of thelminrecord component. -
lmax
public long lmax()Returns the value of thelmaxrecord component.
-