alexander-lindner / java-common-tools

A java tool chain for various little helper and tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

java-common-tools

A java tool chain for various little helper and tools

Example of the random stream tool

int keyLength = 50;
int count = 1000000;
final List<String> keys = Random.build(Generator.alphanumeric())
                                .parallelUniqueStream(keyLength, count)
                                .filter(s -> s.startsWith("a"))
                                .collect(Collectors.toList());
// *keys* contains ~1/62 *count* strings like aYC8KQhxrJgrnTau08TbWoha7dswQTrTQ1fI3TZLBVEKrFUTs2

Install it

https://mvnrepository.com/artifact/org.alindner.tools/common/1.1.0

Use it via Maven

<dependency>
    <groupId>org.alindner.tools</groupId>
    <artifactId>common</artifactId>
    <version>1.1.0</version>
</dependency>

or Gradle

compile "org.alindner.tools:common:1.1.0"

Use it

See the tutorials on our wiki.

About

A java tool chain for various little helper and tools

License:GNU General Public License v3.0


Languages

Language:Java 100.0%