docs: public static <T> List<T> truncatedSubList(List<T> inList, int start, int end) {
      // List.sublist will do our error checking for us
      final int limit = Math.min(end, inList.size());
      return inList.subList(start, limit);
    }