Added Nonnull checks to newer and older. Made equals () return false if null is supplied (to get around possible NullPointerException).