// Copyright (c) Cognitect, Inc.
// All rights reserved.

package com.cognitect.transit;

public class Ratio {

    public final long numerator;
    public final long denominator;

    public Ratio(long numerator, long denominator) {
        this.numerator = numerator;
        this.denominator = denominator;
    }

    public double doubleValue() {
        return (double)numerator / denominator;
    }

    @Override
    public boolean equals(Object o) {

        if(o instanceof Ratio && ((Ratio)o).numerator == numerator && ((Ratio)o).denominator == denominator)
            return true;
        else
            return false;
    }
}

@@ -630,11 +630,56 @@
 e;%0A    %7D
+%0A%0A    // TODO: implement comparator interface
 %0A%7D%0A

Add todo to Ratio class