class CassandraServiceImpl implements CassandraService<T> {

  @VisibleForTesting
  static BigInteger distance(BigInteger left, BigInteger right) {
    return (right.compareTo(left) > 0)
        ? right.subtract(left)
        : right.subtract(left).add(SplitGenerator.getRangeSize(MURMUR3PARTITIONER));
  }

}