@Test public void testEquals() throws Exception { ScoreValue theScoreValue = new ScoreValue(1); ScoreValue theScoreValue1 = new ScoreValue(1); ScoreValue theScoreValue2 = new ScoreValue(2); assertEquals(theScoreValue, theScoreValue); assertEquals(theScoreValue, theScoreValue1); assertNotEquals(theScoreValue, theScoreValue2); assertNotEquals(theScoreValue, null); assertNotEquals(theScoreValue, "lala"); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ScoreValue that = (ScoreValue) o; return score == that.score; }
ScoreValue implements Reflectable, Distributable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ScoreValue that = (ScoreValue) o; return score == that.score; } }
ScoreValue implements Reflectable, Distributable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ScoreValue that = (ScoreValue) o; return score == that.score; } ScoreValue();  ScoreValue(long aScore); }
ScoreValue implements Reflectable, Distributable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ScoreValue that = (ScoreValue) o; return score == that.score; } ScoreValue();  ScoreValue(long aScore); @ReflectiveMethod ScoreValue incrementBy(long aAmount); @ReflectiveMethod ScoreValue resetToZero(); Long get(); @Override ScoreValueClassInformation getClassInformation(); @Override boolean equals(Object o); @Override int hashCode(); @Override Map<String, Object> serialize(); static ScoreValue deserialize(Map<String, Object> aSerializesData); }
ScoreValue implements Reflectable, Distributable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ScoreValue that = (ScoreValue) o; return score == that.score; } ScoreValue();  ScoreValue(long aScore); @ReflectiveMethod ScoreValue incrementBy(long aAmount); @ReflectiveMethod ScoreValue resetToZero(); Long get(); @Override ScoreValueClassInformation getClassInformation(); @Override boolean equals(Object o); @Override int hashCode(); @Override Map<String, Object> serialize(); static ScoreValue deserialize(Map<String, Object> aSerializesData); final long score; }