code: public List<DeepTokenRange> deepTokenRanges(List<CfSplit> splits, List<String> endpoints) {
          List<DeepTokenRange> result = new ArrayList<>();
          for (CfSplit split : splits) {
              Comparable splitStart = tokenAsComparable(split.getStart_token());
              Comparable splitEnd = tokenAsComparable(split.getEnd_token());
              if (splitStart.equals(splitEnd)) {
                  result.add(new DeepTokenRange(minToken, minToken, endpoints));
              } else if (splitStart.compareTo(splitEnd) > 0) {
                  result.add(new DeepTokenRange(splitStart, minToken, endpoints));
                  result.add(new DeepTokenRange(minToken, splitEnd, endpoints));
              } else {
                  result.add(new DeepTokenRange(splitStart, splitEnd, endpoints));
              }
          }
          return result;
      }
docs: Returns the Deep splits represented by the specified Thrift splits using the specified endpoints for all of them.
  Note that the returned list can contain one more ranges than the specified because the range containing the
  partitioner's minimum token are divided into two ranges.
  
  @param splits    the Thrift splits to be converted.
  @param endpoints the endpoints list to be set in each generated Deep split
  @return the {@link com.stratio.deep.commons.rdd.DeepTokenRange}s represented by the specified
  {@link org.apache.cassandra.thrift.CfSplit}s