Record Class Scale
-
Constructor Summary
ConstructorsConstructorDescriptionScale(BigDecimal xScale, BigDecimal yScale, BigDecimal zScale) Creates an instance of aScalerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.xScale()Returns the value of thexScalerecord component.yScale()Returns the value of theyScalerecord component.zScale()Returns the value of thezScalerecord component.
-
Constructor Details
-
Scale
Creates an instance of aScalerecord class.- Parameters:
xScale- the value for thexScalerecord componentyScale- the value for theyScalerecord componentzScale- the value for thezScalerecord component
-
-
Method Details
-
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). -
xScale
Returns the value of thexScalerecord component.- Returns:
- the value of the
xScalerecord component
-
yScale
Returns the value of theyScalerecord component.- Returns:
- the value of the
yScalerecord component
-
zScale
Returns the value of thezScalerecord component.- Returns:
- the value of the
zScalerecord component
-