@@ -0,0 +1,1030 @@
+package org.nkjmlab.util.java.math;%0D%0A%0D%0Aimport java.util.Collections;%0D%0Aimport java.util.List;%0D%0Aimport java.util.concurrent.ThreadLocalRandom;%0D%0Aimport java.util.stream.Collectors;%0D%0A%0D%0Apublic class RandomSequenceUtils %7B%0D%0A%0D%0A  /**%0D%0A   * @param startInclusive%0D%0A   * @param endExclusive%0D%0A   * @param length%0D%0A   * @return%0D%0A   */%0D%0A  public static List%3CInteger%3E createUniqueRandomValues(int startInclusive, int endExclusive,%0D%0A      int length) %7B%0D%0A    List%3CInteger%3E seq = ThreadLocalRandom.current().ints(startInclusive, endExclusive).boxed()%0D%0A        .collect(Collectors.toList());%0D%0A    Collections.shuffle(seq);%0D%0A    return seq.subList(0, length);%0D%0A  %7D%0D%0A%0D%0A  /**%0D%0A   *%0D%0A   * @param startInclusive%0D%0A   * @param endExclusive%0D%0A   * @param length%0D%0A   * @return%0D%0A   */%0D%0A  public static List%3CInteger%3E createSortedUniqueRandomValues(int startInclusive, int endExclusive,%0D%0A      int length) %7B%0D%0A    List%3CInteger%3E values = createUniqueRandomValues(startInclusive, endExclusive, length);%0D%0A    Collections.sort(values);%0D%0A    return values;%0D%0A  %7D%0D%0A%0D%0A%0D%0A%7D%0D%0A

Add RandomSequenceUtils