class TLDEquality implements Equality {

    @Override
    public boolean partOf(Key key, Key other) {
        ByteSequence docCF = TLD.estimateRootPointerFromId(key.getColumnFamilyData());
        ByteSequence otherCF = TLD.estimateRootPointerFromId(other.getColumnFamilyData());
        return otherCF.equals(docCF);
    }

}