| Modifier and Type | Method and Description |
|---|---|
T |
Dictionary.pick(Language language) |
int |
Dictionary.size(Language... languages) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Language,List<Fortune>> |
FortunesDictionary.getFortunes() |
protected Map<Language,List<GivenName>> |
GivenNamesDictionary.getGivenNames() |
protected Map<Language,List<String>> |
SurnamesDictionary.getSurnames() |
| Modifier and Type | Method and Description |
|---|---|
String |
SurnamesDictionary.pick(Language randomLanguage) |
GivenName |
GivenNamesDictionary.pick(Language randomLanguage) |
Fortune |
FortunesDictionary.pick(Language randomLanguage) |
int |
SurnamesDictionary.size(Language... languages) |
int |
GivenNamesDictionary.size(Language... languages) |
int |
FortunesDictionary.size(Language... languages) |
| Modifier and Type | Method and Description |
|---|---|
static List<Fortune> |
FortuneLoader.load(Language language) |
static List<GivenName> |
NameLoader.loadGivenNames(Language language) |
static List<String> |
NameLoader.loadSurnames(Language language) |
| Modifier and Type | Field and Description |
|---|---|
Language[] |
Query.languages |
| Modifier and Type | Method and Description |
|---|---|
Query.Builder |
Query.Builder.languages(Language... languages) |
Fortune |
FortuneGenerator.nextFortune(Language language) |
| Constructor and Description |
|---|
Query(int count,
Language... languages) |
| Modifier and Type | Method and Description |
|---|---|
Fortune |
SimpleFortuneGenerator.nextFortune(Language language) |
| Modifier and Type | Method and Description |
|---|---|
static Language |
Language.random() |
static Language |
Language.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Language[] |
Language.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
NicknameCreator.fromFirstName(String name,
Language language) |
Copyright © 2017. All rights reserved.