Package ghidra.trace.model.target.info
Record Class TraceObjectInterfaceFactory.Constructor<I extends TraceObjectInterface>
java.lang.Object
java.lang.Record
ghidra.trace.model.target.info.TraceObjectInterfaceFactory.Constructor<I>
- Enclosing interface:
TraceObjectInterfaceFactory
public static record TraceObjectInterfaceFactory.Constructor<I extends TraceObjectInterface>(Class<I extends TraceObjectInterface> iface, Function<? super DBTraceObject,? extends I extends TraceObjectInterface> ctor)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor(Class<I> iface, Function<? super DBTraceObject, ? extends I> ctor) Creates an instance of aConstructorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionFunction<? super DBTraceObject, ? extends I> ctor()Returns the value of thectorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.iface()Returns the value of theifacerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Constructor
Creates an instance of aConstructorrecord class.- Parameters:
iface- the value for theifacerecord componentctor- the value for thectorrecord 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. -
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). -
iface
Returns the value of theifacerecord component.- Returns:
- the value of the
ifacerecord component
-
ctor
Returns the value of thectorrecord component.- Returns:
- the value of the
ctorrecord component
-