Record Class NetworkNodeActor
java.lang.Object
java.lang.Record
com.refinedmods.refinedstorage.api.network.node.NetworkNodeActor
- All Implemented Interfaces:
Actor
@API(status=STABLE,
since="2.0.0-milestone.2.1")
public record NetworkNodeActor(NetworkNode networkNode)
extends Record
implements Actor
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionNetworkNodeActor(NetworkNode networkNode) Creates an instance of aNetworkNodeActorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getName()final inthashCode()Returns a hash code value for this object.Returns the value of thenetworkNoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NetworkNodeActor
Creates an instance of aNetworkNodeActorrecord class.- Parameters:
networkNode- the value for thenetworkNoderecord component
-
-
Method Details
-
getName
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
networkNode
Returns the value of thenetworkNoderecord component.- Returns:
- the value of the
networkNoderecord component
-