equals method for Wrapper classes returns true if both the value inside the wrapper classes are equal and they are of the same type(Double,Float..etc).
please buy my thing and then I'll have more money:
a bit of art, as a gift, the permaculture playing cards