Record Class TestCell
java.lang.Object
java.lang.Record
com.gtnewhorizons.horizonqa.internal.TestCell
-
Constructor Summary
Constructors -
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.intmaxX()Returns the value of themaxXrecord component.intmaxY()Returns the value of themaxYrecord component.intmaxZ()Returns the value of themaxZrecord component.intminX()Returns the value of theminXrecord component.intminY()Returns the value of theminYrecord component.intminZ()Returns the value of theminZrecord component.intoriginX()Returns the value of theoriginXrecord component.intoriginY()Returns the value of theoriginYrecord component.intoriginZ()Returns the value of theoriginZrecord component.testId()Returns the value of thetestIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TestCell
public TestCell(String testId, int originX, int originY, int originZ, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) Creates an instance of aTestCellrecord class.- Parameters:
testId- the value for thetestIdrecord componentoriginX- the value for theoriginXrecord componentoriginY- the value for theoriginYrecord componentoriginZ- the value for theoriginZrecord componentminX- the value for theminXrecord componentminY- the value for theminYrecord componentminZ- the value for theminZrecord componentmaxX- the value for themaxXrecord componentmaxY- the value for themaxYrecord componentmaxZ- the value for themaxZrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
testId
Returns the value of thetestIdrecord component.- Returns:
- the value of the
testIdrecord component
-
originX
public int originX()Returns the value of theoriginXrecord component.- Returns:
- the value of the
originXrecord component
-
originY
public int originY()Returns the value of theoriginYrecord component.- Returns:
- the value of the
originYrecord component
-
originZ
public int originZ()Returns the value of theoriginZrecord component.- Returns:
- the value of the
originZrecord component
-
minX
public int minX()Returns the value of theminXrecord component.- Returns:
- the value of the
minXrecord component
-
minY
public int minY()Returns the value of theminYrecord component.- Returns:
- the value of the
minYrecord component
-
minZ
public int minZ()Returns the value of theminZrecord component.- Returns:
- the value of the
minZrecord component
-
maxX
public int maxX()Returns the value of themaxXrecord component.- Returns:
- the value of the
maxXrecord component
-
maxY
public int maxY()Returns the value of themaxYrecord component.- Returns:
- the value of the
maxYrecord component
-
maxZ
public int maxZ()Returns the value of themaxZrecord component.- Returns:
- the value of the
maxZrecord component
-