/** * Returns a hash code for this object. * * @return A hash code. */ @Override public int hashCode() { int result = 19; result = 37 * result + this.positionForAxisAtTop.hashCode(); result = 37 * result + this.positionForAxisAtBottom.hashCode(); result = 37 * result + this.positionForAxisAtLeft.hashCode(); result = 37 * result + this.positionForAxisAtRight.hashCode(); return result; } }
/** * Returns a hash code for this object. * * @return A hash code. */ public int hashCode() { int result = 19; result = 37 * result + this.positionForAxisAtTop.hashCode(); result = 37 * result + this.positionForAxisAtBottom.hashCode(); result = 37 * result + this.positionForAxisAtLeft.hashCode(); result = 37 * result + this.positionForAxisAtRight.hashCode(); return result; } }