@Test public void testHashCode() { CategoryLabelPosition a1 = new CategoryLabelPosition(); CategoryLabelPosition a2 = new CategoryLabelPosition(); assertEquals(a1, a2); int h1 = a1.hashCode(); int h2 = a2.hashCode(); assertEquals(h1, h2); }
@Override public int hashCode() { int result = 19; result = 37 * result + this.categoryAnchor.hashCode(); result = 37 * result + this.labelAnchor.hashCode(); result = 37 * result + this.rotationAnchor.hashCode(); return result; }
CategoryLabelPosition implements Serializable { @Override public int hashCode() { int result = 19; result = 37 * result + this.categoryAnchor.hashCode(); result = 37 * result + this.labelAnchor.hashCode(); result = 37 * result + this.rotationAnchor.hashCode(); return result; } }
CategoryLabelPosition implements Serializable { @Override public int hashCode() { int result = 19; result = 37 * result + this.categoryAnchor.hashCode(); result = 37 * result + this.labelAnchor.hashCode(); result = 37 * result + this.rotationAnchor.hashCode(); return result; } CategoryLabelPosition();  CategoryLabelPosition(RectangleAnchor categoryAnchor,
                                 TextBlockAnchor labelAnchor);  CategoryLabelPosition(RectangleAnchor categoryAnchor,
                                 TextBlockAnchor labelAnchor,
                                 CategoryLabelWidthType widthType,
                                 float widthRatio);  CategoryLabelPosition(RectangleAnchor categoryAnchor,
                                 TextBlockAnchor labelAnchor,
                                 TextAnchor rotationAnchor,
                                 double angle,
                                 CategoryLabelWidthType widthType,
                                 float widthRatio); }
CategoryLabelPosition implements Serializable { @Override public int hashCode() { int result = 19; result = 37 * result + this.categoryAnchor.hashCode(); result = 37 * result + this.labelAnchor.hashCode(); result = 37 * result + this.rotationAnchor.hashCode(); return result; } CategoryLabelPosition();  CategoryLabelPosition(RectangleAnchor categoryAnchor,
                                 TextBlockAnchor labelAnchor);  CategoryLabelPosition(RectangleAnchor categoryAnchor,
                                 TextBlockAnchor labelAnchor,
                                 CategoryLabelWidthType widthType,
                                 float widthRatio);  CategoryLabelPosition(RectangleAnchor categoryAnchor,
                                 TextBlockAnchor labelAnchor,
                                 TextAnchor rotationAnchor,
                                 double angle,
                                 CategoryLabelWidthType widthType,
                                 float widthRatio); RectangleAnchor getCategoryAnchor(); TextBlockAnchor getLabelAnchor(); TextAnchor getRotationAnchor(); double getAngle(); CategoryLabelWidthType getWidthType(); float getWidthRatio(); @Override boolean equals(Object obj); @Override int hashCode(); }
CategoryLabelPosition implements Serializable { @Override public int hashCode() { int result = 19; result = 37 * result + this.categoryAnchor.hashCode(); result = 37 * result + this.labelAnchor.hashCode(); result = 37 * result + this.rotationAnchor.hashCode(); return result; } CategoryLabelPosition();  CategoryLabelPosition(RectangleAnchor categoryAnchor,
                                 TextBlockAnchor labelAnchor);  CategoryLabelPosition(RectangleAnchor categoryAnchor,
                                 TextBlockAnchor labelAnchor,
                                 CategoryLabelWidthType widthType,
                                 float widthRatio);  CategoryLabelPosition(RectangleAnchor categoryAnchor,
                                 TextBlockAnchor labelAnchor,
                                 TextAnchor rotationAnchor,
                                 double angle,
                                 CategoryLabelWidthType widthType,
                                 float widthRatio); RectangleAnchor getCategoryAnchor(); TextBlockAnchor getLabelAnchor(); TextAnchor getRotationAnchor(); double getAngle(); CategoryLabelWidthType getWidthType(); float getWidthRatio(); @Override boolean equals(Object obj); @Override int hashCode();  }