Package com.github.kkuegler
Class AbstractHumanReadableIdGenerator
- java.lang.Object
-
- com.github.kkuegler.AbstractHumanReadableIdGenerator
-
- All Implemented Interfaces:
HumanReadableIdGenerator
- Direct Known Subclasses:
PermutationBasedHumanReadableIdGenerator,RandomHumanReadableIdGenerator
public abstract class AbstractHumanReadableIdGenerator extends java.lang.Object implements HumanReadableIdGenerator
Base class for id generators. Provides the word lists and other infrastructure.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]adjectivesprotected java.lang.String[]animalsprotected java.lang.String[]numbersprotected java.security.SecureRandomrandom
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractHumanReadableIdGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String[]randomize(java.lang.String[] input)Fisher-Yates shuffle (inside-out variant)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.kkuegler.HumanReadableIdGenerator
generate
-
-