@Override
    public int compare(final ObjectWritable objectWritable1, final ObjectWritable objectWritable2) {
        return this.comparator.compare(objectWritable1.get(), objectWritable2.get());
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/ObjectWritableComparator.java