class AccumuloTablet implements Partition {

    @Override
    public boolean equals(final Object obj) {
        if (this == obj) {
            return true;
        }

        if (null == obj || getClass() != obj.getClass()) {
            return false;
        }

        final AccumuloTablet accumuloTablet = (AccumuloTablet) obj;

        return new EqualsBuilder()
                .append(rddId, accumuloTablet.rddId)
                .append(index, accumuloTablet.index)
                .append(start, accumuloTablet.start)
                .append(end, accumuloTablet.end)
                .append(files, accumuloTablet.files)
                .isEquals();
    }

    public  AccumuloTablet(final int rddId,
                          final int index,
                          final String start,
                          final String end);

}