Update Faintness.java

override hashcode and equals