Am adaugat metodele isLessThan, isGreaterThan si isEqual