Record Class BevelCogWheelSet.Client
java.lang.Object
java.lang.Record
petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.BevelCogWheelSet.Client
- Enclosing class:
BevelCogWheelSet
public static record BevelCogWheelSet.Client(dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionClient(dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth) Creates an instance of aClientrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.dev.engine_room.flywheel.lib.model.baked.PartialModelReturns the value of thefiveTeethrecord component.dev.engine_room.flywheel.lib.model.baked.PartialModelReturns the value of thefourTeethrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Client
public Client(dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth, dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth) Creates an instance of aClientrecord class.- Parameters:
fourTeeth- the value for thefourTeethrecord componentfiveTeeth- the value for thefiveTeethrecord 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). -
fourTeeth
public dev.engine_room.flywheel.lib.model.baked.PartialModel fourTeeth()Returns the value of thefourTeethrecord component.- Returns:
- the value of the
fourTeethrecord component
-
fiveTeeth
public dev.engine_room.flywheel.lib.model.baked.PartialModel fiveTeeth()Returns the value of thefiveTeethrecord component.- Returns:
- the value of the
fiveTeethrecord component
-