Seq.range(0, 128).map(x -> ".").collect(joining()), "", pattern,
"test-worker.log.test"); String pattern = Seq.range(0, 1024).map(x -> "X").collect(joining());
List<File> files1 = Seq.range(0, 10).map(idx -> new MockRemovableFileBuilder().setFileName("A" + idx) .setMtime(nowMillis + (100 * idx)).setLength(200).build()) .collect(toList()); List<File> files2 = Seq.range(0, 10).map(idx -> new MockRemovableFileBuilder().setFileName("B" + idx) .setMtime(nowMillis + (100 * idx)).setLength(200).build()) .collect(toList()); List<File> files3 = Seq.range(0, 10).map(idx -> new MockRemovableFileBuilder().setFileName("C" + idx) .setMtime(nowMillis + (100 * idx)).setLength(200).build()) .collect(toList());
List<File> files1 = Seq.range(0, 10).map(idx -> new MockRemovableFileBuilder().setFileName("A" + idx + ".log") .setMtime(nowMillis + (100 * idx)).setLength(200).build()) .collect(toList()); List<File> files2 = Seq.range(0, 10).map(idx -> new MockRemovableFileBuilder().setFileName("B" + idx) .setMtime(nowMillis + (100 * idx)).setLength(200).build()) .collect(toList()); List<File> files3 = Seq.range(0, 10).map(idx -> new MockRemovableFileBuilder().setFileName("C" + idx) .setMtime(nowMillis + (100 * idx)).setLength(200).build()) .collect(toList());
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Character> range(char fromInclusive, char toExclusive) { return range(fromInclusive, toExclusive, (short) 1); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Byte> range(byte fromInclusive, byte toExclusive) { return range(fromInclusive, toExclusive, (byte) 1); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Integer> range(int fromInclusive, int toExclusive) { return range(fromInclusive, toExclusive, 1); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Character> range(char fromInclusive, char toExclusive) { return range(fromInclusive, toExclusive, (short) 1); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Short> range(short fromInclusive, short toExclusive) { return range(fromInclusive, toExclusive, (short) 1); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Long> range(long fromInclusive, long toExclusive) { return range(fromInclusive, toExclusive, 1L); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Byte> range(byte fromInclusive, byte toExclusive) { return range(fromInclusive, toExclusive, (byte) 1); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Short> range(short fromInclusive, short toExclusive) { return range(fromInclusive, toExclusive, (short) 1); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Integer> range(int fromInclusive, int toExclusive) { return range(fromInclusive, toExclusive, 1); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Long> range(long fromInclusive, long toExclusive) { return range(fromInclusive, toExclusive, 1L); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Instant> range(Instant fromInclusive, Instant toExclusive) { return range(fromInclusive, toExclusive, Duration.ofSeconds(1)); }
/** * The range between two values. * * @param fromInclusive The lower bound * @param toExclusive The upper bound */ static Seq<Instant> range(Instant fromInclusive, Instant toExclusive) { return range(fromInclusive, toExclusive, Duration.ofSeconds(1)); }