@Test public void testHashCode() throws Exception { assertEquals(10, new Angle(10).hashCode()); }
@Override public int hashCode() { return angleInDegrees; }
Angle implements Reflectable, Distributable { @Override public int hashCode() { return angleInDegrees; } }
Angle implements Reflectable, Distributable { @Override public int hashCode() { return angleInDegrees; } Angle(int aAngleInDegrees); }
Angle implements Reflectable, Distributable { @Override public int hashCode() { return angleInDegrees; } Angle(int aAngleInDegrees); Integer get(); @ReflectiveMethod Angle add(int aDiff); @ReflectiveMethod Angle invert(); @ReflectiveMethod Angle snapTo(int aStep); @ReflectiveMethod Angle resetToZero(); float toRadians(); @Override boolean equals(Object o); @Override int hashCode(); @Override AngleClassInformation getClassInformation(); @Override Map<String, Object> serialize(); static Angle deserialize(Map<String, Object> aSerializedData); static Angle fromRadians(float aAngleInRadians); }
Angle implements Reflectable, Distributable { @Override public int hashCode() { return angleInDegrees; } Angle(int aAngleInDegrees); Integer get(); @ReflectiveMethod Angle add(int aDiff); @ReflectiveMethod Angle invert(); @ReflectiveMethod Angle snapTo(int aStep); @ReflectiveMethod Angle resetToZero(); float toRadians(); @Override boolean equals(Object o); @Override int hashCode(); @Override AngleClassInformation getClassInformation(); @Override Map<String, Object> serialize(); static Angle deserialize(Map<String, Object> aSerializedData); static Angle fromRadians(float aAngleInRadians); final int angleInDegrees; static final Angle ZERO; }