Implements the <=, => compare logic, so class can be used in expressions such as @sample oneDistance <= anotherDistance.