This inner class defines comparison operators available forT.
T
It can't extendAnyVal because it is not a top-level class or a member of a statically accessible object.
AnyVal