Record Class DbgMsgTracer.CallRec
java.lang.Object
java.lang.Record
utilities.util.DbgMsgTracer.CallRec
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
DbgMsgTracer
public static record DbgMsgTracer.CallRec(DbgMsgTracer tracer, Object obj, String name, long start)
extends Record
implements AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionCallRec(DbgMsgTracer tracer, Object obj, String name, long start) Creates an instance of aCallRecrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.obj()Returns the value of theobjrecord component.longstart()Returns the value of thestartrecord component.final StringtoString()Returns a string representation of this record class.tracer()Returns the value of thetracerrecord component.
-
Constructor Details
-
CallRec
Creates an instance of aCallRecrecord class.- Parameters:
tracer- the value for thetracerrecord componentobj- the value for theobjrecord componentname- the value for thenamerecord componentstart- the value for thestartrecord component
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
tracer
Returns the value of thetracerrecord component.- Returns:
- the value of the
tracerrecord component
-
obj
Returns the value of theobjrecord component.- Returns:
- the value of the
objrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
start
public long start()Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-