code: public static ListLong limit(final ListLong data, final int start, final int end) {
          return new ListLong() {
  
              @Override
              public long getLong(int index) {
                  return data.getLong(index + start);
              }
  
              @Override
              public int size() {
                  return end - start;
              }
          };
      }
docs: Returns a sublist of the given data.
  
  @param data a list
  @param start start point for the sublist
  @param end end point (exclusive) for the sublist
  @return the sublist