Skip navigation links
A B C D E F G H I K L N P R S T V W 

A

AbstractNumberRandomField<N extends Number> - Class in de.slothsoft.random.types
A base class for creating a RandomField from a Number.
AbstractNumberRandomField() - Constructor for class de.slothsoft.random.types.AbstractNumberRandomField
 
addComponent(String, RandomField) - Method in class de.slothsoft.random.types.PatternRandomField
Adds a component that can be accessed by PatternRandomField.nextValue().
addComponents(Map<String, RandomField>) - Method in class de.slothsoft.random.types.PatternRandomField
Adds components that can be accessed by PatternRandomField.nextValue().
addFactory(RandomFactory<?>) - Method in class de.slothsoft.random.RandomIndustrialArea
Adds a RandomFactory to this industrial area.
addLetters(Letter...) - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
addRandomField(String, RandomField) - Method in class de.slothsoft.random.RandomFactory
Adds a RandomField to fill some property.
arrayLength(int) - Method in class de.slothsoft.random.types.ArrayRandomField
Sets the standard array length.
ArrayRandomField - Class in de.slothsoft.random.types
A RandomField representing an array.
ArrayRandomField(Class<?>, RandomField) - Constructor for class de.slothsoft.random.types.ArrayRandomField
Constructor.

B

BigDecimalRandomField - Class in de.slothsoft.random.types
A RandomField representing a BigDecimal.
BigDecimalRandomField() - Constructor for class de.slothsoft.random.types.BigDecimalRandomField
 
BigIntegerRandomField - Class in de.slothsoft.random.types
A RandomField representing a BigInteger.
BigIntegerRandomField() - Constructor for class de.slothsoft.random.types.BigIntegerRandomField
 
BirthdayRandomField - Class in de.slothsoft.random.types
A RandomField representing a birthday, i.e.
BirthdayRandomField() - Constructor for class de.slothsoft.random.types.BirthdayRandomField
 
BooleanRandomField - Class in de.slothsoft.random.types
A RandomField representing a Boolean or it's primitive counterpart.
BooleanRandomField() - Constructor for class de.slothsoft.random.types.BooleanRandomField
 

C

CalendarRandomField - Class in de.slothsoft.random.types
A RandomField representing a Calendar between 10 years ago and 10 years in the future.
CalendarRandomField() - Constructor for class de.slothsoft.random.types.CalendarRandomField
 
canSupply(String, Class<?>) - Method in class de.slothsoft.random.RandomFieldSupplier
Returns if this random field should be used to render the field name.
capitalProbability(double) - Method in class de.slothsoft.random.types.CharacterRandomField
Sets the probability for this field returning capital.
CharacterRandomField - Class in de.slothsoft.random.types
Generates letters after a defined config stored in WordGeneratorConfig.
CharacterRandomField() - Constructor for class de.slothsoft.random.types.CharacterRandomField
Default constructor.
CityRandomField - Class in de.slothsoft.random.types
A RandomField representing a String that should look like a city.
CityRandomField() - Constructor for class de.slothsoft.random.types.CityRandomField
Default constructor.
CollectionRandomField - Class in de.slothsoft.random.types
A RandomField representing an Collection.
CollectionRandomField(Supplier<Collection<?>>, RandomField) - Constructor for class de.slothsoft.random.types.CollectionRandomField
Constructor.
collectionSize(int) - Method in class de.slothsoft.random.types.CollectionRandomField
Sets the standard collection size.
config(WordGeneratorConfig) - Method in class de.slothsoft.random.types.CharacterRandomField
Sets the used config.
config(WordGeneratorConfig) - Method in class de.slothsoft.random.types.WordRandomField
Sets the used config.
config(WordGeneratorConfig) - Method in class de.slothsoft.random.types.WordsRandomField
Sets the used config.
containsRandomFactoryFor(Class<T>) - Method in class de.slothsoft.random.RandomIndustrialArea
Returns if there is a RandomFactory for the class.
create(int) - Method in class de.slothsoft.random.RandomFactory
Creates some instances of the POJO this factory is for.
create(Class<T>, int) - Method in class de.slothsoft.random.RandomIndustrialArea
Creates some instances of the class this factory is for.
createRandomField() - Method in class de.slothsoft.random.RandomFieldSupplier
createRandomField(String, Class<?>) - Method in class de.slothsoft.random.RandomFieldSupplier
Creates a new instance of RandomField to use for a RandomFactory.
createRandomFieldByField(String, Class<?>) - Static method in class de.slothsoft.random.RandomFieldSupplier
Creates a RandomField for a property name and class.
createSingle() - Method in class de.slothsoft.random.RandomFactory
Creates a single instance of the class this factory is for.
createSingle(Class<T>) - Method in class de.slothsoft.random.RandomIndustrialArea
Creates a single instance of the class.
creationDepth(int) - Method in class de.slothsoft.random.RandomIndustrialArea
Returns the depth for the hierarchical POJOs that might be created.

D

DateRandomField - Class in de.slothsoft.random.types
A RandomField representing a Date between 10 years ago and 10 years in the future.
DateRandomField() - Constructor for class de.slothsoft.random.types.DateRandomField
 
de.slothsoft.random - package de.slothsoft.random
 
de.slothsoft.random.types - package de.slothsoft.random.types
 
de.slothsoft.random.types.wordgen - package de.slothsoft.random.types.wordgen
 
DefaultWordGeneratorConfig - Class in de.slothsoft.random.types.wordgen
DefaultWordGeneratorConfig() - Constructor for class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
 
DoubleRandomField - Class in de.slothsoft.random.types
A RandomField representing a Double or its primitive counterpart.
DoubleRandomField() - Constructor for class de.slothsoft.random.types.DoubleRandomField
 

E

ElementFromListRandomField<E> - Class in de.slothsoft.random.types
A RandomField representing an arbitrary object that is filled with a random list element.
ElementFromListRandomField(E[]) - Constructor for class de.slothsoft.random.types.ElementFromListRandomField
Some constructor.
endValue(N) - Method in class de.slothsoft.random.types.AbstractNumberRandomField
Sets the end value, i.e.
endValue(Date) - Method in class de.slothsoft.random.types.BirthdayRandomField
 
endValue(Calendar) - Method in class de.slothsoft.random.types.CalendarRandomField
 
endValue(Date) - Method in class de.slothsoft.random.types.DateRandomField
 
endValue(LocalDate) - Method in class de.slothsoft.random.types.LocalDateRandomField
 
endValue(LocalDateTime) - Method in class de.slothsoft.random.types.LocalDateTimeRandomField
 
endValue(LocalTime) - Method in class de.slothsoft.random.types.LocalTimeRandomField
 
EnumRandomField<E extends Enum<E>> - Class in de.slothsoft.random.types
A RandomField representing an object that is filled with a random Enum's list element.
EnumRandomField(Class<E>) - Constructor for class de.slothsoft.random.types.EnumRandomField
Default constructor.
equals(Object) - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
 
equals(Object) - Method in class de.slothsoft.random.types.wordgen.Letter
 

F

findRandomFactory(Class<T>) - Method in class de.slothsoft.random.RandomIndustrialArea
Returns the RandomFactory for the class or null.
findRandomField(String) - Method in class de.slothsoft.random.RandomFactory
Returns the RandomField used to fill the property.
findSupplierByField(String, Class<?>) - Static method in class de.slothsoft.random.RandomFieldSupplier
Returns a RandomFieldSupplier for a property name and class.
FirstNameRandomField - Class in de.slothsoft.random.types
A RandomField representing a String that should look like a first name.
FirstNameRandomField() - Constructor for class de.slothsoft.random.types.FirstNameRandomField
Default constructor.
FirstNameRandomField.Gender - Enum in de.slothsoft.random.types
Enum for setting the Gender of the first name.
FloatRandomField - Class in de.slothsoft.random.types
A RandomField representing a Float or its primitive counterpart.
FloatRandomField() - Constructor for class de.slothsoft.random.types.FloatRandomField
 
forClass(Class<U>) - Static method in class de.slothsoft.random.RandomFactory
Creates a RandomFactory with just one class and then tries to guess which fields to fill.
forClasses(Class<?>...) - Static method in class de.slothsoft.random.RandomIndustrialArea
Creates a default RandomFactory for the class.

G

gender(FirstNameRandomField.Gender) - Method in class de.slothsoft.random.types.FirstNameRandomField
Sets the gender of the generated first names.
get() - Method in interface de.slothsoft.random.RandomFactory.Supplier
Gets a result.
getAllSuppliers() - Static method in class de.slothsoft.random.RandomFieldSupplier
Returns all RandomFieldSuppliers that this module brings along.
getArrayLength() - Method in class de.slothsoft.random.types.ArrayRandomField
Returns the standard array length.
getCapitalProbability() - Method in class de.slothsoft.random.types.CharacterRandomField
Returns the probability for this field returning capital.
getCharacter() - Method in class de.slothsoft.random.types.wordgen.Letter
Returns the character.
getCollectionSize() - Method in class de.slothsoft.random.types.CollectionRandomField
Returns the standard collection size.
getConfig() - Method in class de.slothsoft.random.types.CharacterRandomField
Returns the used config.
getConfig() - Method in class de.slothsoft.random.types.WordRandomField
Returns the used config.
getConfig() - Method in class de.slothsoft.random.types.WordsRandomField
Returns the used config.
getCreationDepth() - Method in class de.slothsoft.random.RandomIndustrialArea
Returns the depth for the hierarchical POJOs that might be created.
getEndValue() - Method in class de.slothsoft.random.types.AbstractNumberRandomField
Returns the end value, i.e.
getGender() - Method in class de.slothsoft.random.types.FirstNameRandomField
Returns the gender of the generated first names.
getHouseNumberEndValue() - Method in class de.slothsoft.random.types.StreetRandomField
Returns the end value, i.e.
getHouseNumberStartValue() - Method in class de.slothsoft.random.types.StreetRandomField
Returns the start value for house numbers, i.e.
getLetters() - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
getNullProbability() - Method in class de.slothsoft.random.types.AbstractNumberRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.ArrayRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.BooleanRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.CharacterRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.CollectionRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.ElementFromListRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.FirstNameRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.PatternRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.PostalCodeRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.WordRandomField
Returns the probability for this field returning null.
getNullProbability() - Method in class de.slothsoft.random.types.WordsRandomField
Returns the probability for this field returning null.
getParagraphCount() - Method in class de.slothsoft.random.types.WordsRandomField
Returns the number of paragraphs.
getPattern() - Method in class de.slothsoft.random.types.PatternRandomField
Returns the pattern with keys that get replaced during PatternRandomField.nextValue().
getPattern() - Method in class de.slothsoft.random.types.PostalCodeRandomField
Returns the pattern with keys that get replaced during PostalCodeRandomField.nextValue().
getPattern() - Method in class de.slothsoft.random.types.StreetRandomField
Returns the pattern with keys that get replaced during StreetRandomField.nextValue().
getProbability(char) - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
 
getProbability() - Method in class de.slothsoft.random.types.wordgen.Letter
Returns the probability of the character.
getProbability(char) - Method in enum de.slothsoft.random.types.wordgen.StandardWordGeneratorConfig
 
getProbability(char) - Method in interface de.slothsoft.random.types.wordgen.WordGeneratorConfig
Returns the probability for a specific character that got returned via WordGeneratorConfig.getSupportedCharacters().
getRandomFactory(Class<T>) - Method in class de.slothsoft.random.RandomIndustrialArea
Returns the RandomFactory for the class.
getRandomField(String) - Method in class de.slothsoft.random.RandomFactory
Returns the RandomField used to fill the property.
getStandardWordLength() - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
 
getStandardWordLength() - Method in enum de.slothsoft.random.types.wordgen.StandardWordGeneratorConfig
 
getStandardWordLength() - Method in interface de.slothsoft.random.types.wordgen.WordGeneratorConfig
Returns the standard word length.
getStartValue() - Method in class de.slothsoft.random.types.AbstractNumberRandomField
Returns the start value, i.e.
getSupportedCharacters() - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
 
getSupportedCharacters() - Method in enum de.slothsoft.random.types.wordgen.StandardWordGeneratorConfig
 
getSupportedCharacters() - Method in interface de.slothsoft.random.types.wordgen.WordGeneratorConfig
Returns the supported lower case characters.
getTrueProbability() - Method in class de.slothsoft.random.types.BooleanRandomField
Returns the probability for this field returning true.

H

hashCode() - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
 
hashCode() - Method in class de.slothsoft.random.types.wordgen.Letter
 
houseNumberEndValue(int) - Method in class de.slothsoft.random.types.StreetRandomField
Sets the end value for house numbers, i.e.
houseNumberStartValue(int) - Method in class de.slothsoft.random.types.StreetRandomField
Sets the start value for house numbers, i.e.

I

init(Map<String, Object>) - Method in interface de.slothsoft.random.RandomField
This method is called before RandomField.nextValue() to give the RandomFields for a POJO the chance to communicate.
IntegerRandomField - Class in de.slothsoft.random.types
A RandomField representing a Integer or its primitive counterpart.
IntegerRandomField() - Constructor for class de.slothsoft.random.types.IntegerRandomField
 

K

KEY_DIGIT - Static variable in class de.slothsoft.random.types.PostalCodeRandomField
Key that can be used by the pattern to display a single digit.
KEY_HOUSE_NUMBER - Static variable in class de.slothsoft.random.types.StreetRandomField
Key that can be used by the pattern to display the house number.
KEY_LETTER - Static variable in class de.slothsoft.random.types.PostalCodeRandomField
Key that can be used by the pattern to display a single letter.
KEY_STREET - Static variable in class de.slothsoft.random.types.StreetRandomField
Key that can be used by the pattern to display the street name.

L

LastNameRandomField - Class in de.slothsoft.random.types
A RandomField representing a String that should look like a last name.
LastNameRandomField() - Constructor for class de.slothsoft.random.types.LastNameRandomField
Default constructor.
Letter - Class in de.slothsoft.random.types.wordgen
A single letter with information.
Letter(char) - Constructor for class de.slothsoft.random.types.wordgen.Letter
Default constructor.
letters(Letter...) - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
loadConfig(InputStream) - Static method in class de.slothsoft.random.types.wordgen.WordGeneratorConfigUtil
Loads the config from an input stream.
LocalDateRandomField - Class in de.slothsoft.random.types
A RandomField representing a LocalDate between 10 years ago and 10 years in the future.
LocalDateRandomField() - Constructor for class de.slothsoft.random.types.LocalDateRandomField
 
LocalDateTimeRandomField - Class in de.slothsoft.random.types
A RandomField representing a LocalDateTime between 10 years ago and 10 years in the future.
LocalDateTimeRandomField() - Constructor for class de.slothsoft.random.types.LocalDateTimeRandomField
 
LocalTimeRandomField - Class in de.slothsoft.random.types
A RandomField representing a LocalTime between 0:00 and 24:00 o'clock.
LocalTimeRandomField() - Constructor for class de.slothsoft.random.types.LocalTimeRandomField
 
LongRandomField - Class in de.slothsoft.random.types
A RandomField representing a Long or its primitive counterpart.
LongRandomField() - Constructor for class de.slothsoft.random.types.LongRandomField
 

N

nextValue() - Method in class de.slothsoft.random.RandomFactory
 
nextValue() - Method in interface de.slothsoft.random.RandomField
Returns a random value.
nextValue() - Method in class de.slothsoft.random.types.AbstractNumberRandomField
 
nextValue() - Method in class de.slothsoft.random.types.ArrayRandomField
 
nextValue() - Method in class de.slothsoft.random.types.BooleanRandomField
 
nextValue() - Method in class de.slothsoft.random.types.CharacterRandomField
Generates a brand new word.
nextValue() - Method in class de.slothsoft.random.types.CollectionRandomField
 
nextValue() - Method in class de.slothsoft.random.types.ElementFromListRandomField
 
nextValue() - Method in class de.slothsoft.random.types.FirstNameRandomField
 
nextValue() - Method in class de.slothsoft.random.types.PatternRandomField
 
nextValue() - Method in class de.slothsoft.random.types.PostalCodeRandomField
 
nextValue() - Method in class de.slothsoft.random.types.StreetRandomField
 
nextValue() - Method in class de.slothsoft.random.types.WordRandomField
Generates a brand new word.
nextValue() - Method in class de.slothsoft.random.types.WordsRandomField
Generates a brand new word.
nullProbability(double) - Method in class de.slothsoft.random.types.AbstractNumberRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.ArrayRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.BooleanRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.CharacterRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.CollectionRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.ElementFromListRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.FirstNameRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.PatternRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.PostalCodeRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.WordRandomField
Sets the probability for this field returning null.
nullProbability(double) - Method in class de.slothsoft.random.types.WordsRandomField
Sets the probability for this field returning null.

P

paragraphCount(int) - Method in class de.slothsoft.random.types.WordsRandomField
Sets the standard number of paragraphs.
pattern(String) - Method in class de.slothsoft.random.types.PatternRandomField
Sets the pattern with keys that get replaced during PatternRandomField.nextValue().
pattern(String) - Method in class de.slothsoft.random.types.PostalCodeRandomField
Sets the pattern with keys that get replaced during PostalCodeRandomField.nextValue().
pattern(String) - Method in class de.slothsoft.random.types.StreetRandomField
Sets the pattern with keys that get replaced during StreetRandomField.nextValue().
PATTERN_CANADA - Static variable in class de.slothsoft.random.types.PostalCodeRandomField
Pattern used in Canada, e.g.
PATTERN_GERMANY - Static variable in class de.slothsoft.random.types.PostalCodeRandomField
Pattern used in Germany, e.g.
PATTERN_HOUSE_NUMBER_FIRST - Static variable in class de.slothsoft.random.types.StreetRandomField
Pattern used in English speaking countries, e.g.
PATTERN_STREET_FIRST - Static variable in class de.slothsoft.random.types.StreetRandomField
Pattern used in Europe, e.g.
PATTERN_US - Static variable in class de.slothsoft.random.types.PostalCodeRandomField
Pattern used in the US, e.g.
PatternRandomField - Class in de.slothsoft.random.types
A field where you define a pattern and have a couple of random field to fill the pattern with.
PatternRandomField(String) - Constructor for class de.slothsoft.random.types.PatternRandomField
Default constructor.
PostalCodeRandomField - Class in de.slothsoft.random.types
A RandomField representing a String that should look like a postal code.
PostalCodeRandomField() - Constructor for class de.slothsoft.random.types.PostalCodeRandomField
Default constructor.
probability(double) - Method in class de.slothsoft.random.types.wordgen.Letter
Sets the probability of the character.

R

RandomException - Exception in de.slothsoft.random
An exception occurring while creating random data.
RandomException() - Constructor for exception de.slothsoft.random.RandomException
Constructs a new runtime exception with null as its detail message.
RandomException(String) - Constructor for exception de.slothsoft.random.RandomException
Constructs a new runtime exception with the specified detail message.
RandomException(Throwable) - Constructor for exception de.slothsoft.random.RandomException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
RandomException(String, Throwable) - Constructor for exception de.slothsoft.random.RandomException
Constructs a new runtime exception with the specified detail message and cause.
RandomFactory<T> - Class in de.slothsoft.random
The main class for creating random data inside a defined POJO.
RandomFactory(RandomFactory.Supplier<T>) - Constructor for class de.slothsoft.random.RandomFactory
A constructor that takes one RandomFactory.Supplier.
RandomFactory(RandomFactory.Supplier<T>, Map<String, RandomField>) - Constructor for class de.slothsoft.random.RandomFactory
A constructor that takes one class and the mapping of properties to the factories filling them.
RandomFactory.Supplier<U> - Interface in de.slothsoft.random
Represents a supplier of results.
RandomField - Interface in de.slothsoft.random
Interface for all various random fields.
RandomFieldSupplier - Class in de.slothsoft.random
Util class for storing managing all the random field this module brings along.
RandomIndustrialArea - Class in de.slothsoft.random
A wrapper for many RandomFactorys and possible some self made random fields or options or whatever might be necessary for even better optimization.

An industrial area has many factories.
RandomIndustrialArea() - Constructor for class de.slothsoft.random.RandomIndustrialArea
 
removeComponent(String) - Method in class de.slothsoft.random.types.PatternRandomField
Removes a component that can be accessed by PatternRandomField.nextValue().
removeComponents(Set<String>) - Method in class de.slothsoft.random.types.PatternRandomField
Removes components that can be accessed by PatternRandomField.nextValue().
removeFactory(RandomFactory<?>) - Method in class de.slothsoft.random.RandomIndustrialArea
Removes a RandomFactory from this industrial area.
removeFactory(Class<?>) - Method in class de.slothsoft.random.RandomIndustrialArea
Removes a RandomFactory from this industrial area.
removeLetters(Letter...) - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
Removes some letters that will not be returned via DefaultWordGeneratorConfig.getSupportedCharacters() and DefaultWordGeneratorConfig.getProbability(char) any longer.
removeRandomField(String) - Method in class de.slothsoft.random.RandomFactory
Removes a RandomField.
RND - Static variable in interface de.slothsoft.random.RandomField
 

S

setArrayLength(int) - Method in class de.slothsoft.random.types.ArrayRandomField
Sets the standard array length.
setCapitalProbability(double) - Method in class de.slothsoft.random.types.CharacterRandomField
Sets the probability for this field returning capital.
setCollectionSize(int) - Method in class de.slothsoft.random.types.CollectionRandomField
Sets the standard collection size.
setConfig(WordGeneratorConfig) - Method in class de.slothsoft.random.types.CharacterRandomField
Sets the used config.
setConfig(WordGeneratorConfig) - Method in class de.slothsoft.random.types.WordRandomField
Sets the used config.
setConfig(WordGeneratorConfig) - Method in class de.slothsoft.random.types.WordsRandomField
Sets the used config.
setCreationDepth(int) - Method in class de.slothsoft.random.RandomIndustrialArea
Returns the depth for the hierarchical POJOs that might be created.
setEndValue(N) - Method in class de.slothsoft.random.types.AbstractNumberRandomField
Sets the end value, i.e.
setGender(FirstNameRandomField.Gender) - Method in class de.slothsoft.random.types.FirstNameRandomField
Sets the gender of the generated first names.
setHouseNumberEndValue(int) - Method in class de.slothsoft.random.types.StreetRandomField
Sets the end value for house numbers, i.e.
setHouseNumberStartValue(int) - Method in class de.slothsoft.random.types.StreetRandomField
Sets the start value for house numbers, i.e.
setNullProbability(double) - Method in class de.slothsoft.random.types.AbstractNumberRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.ArrayRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.BooleanRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.CharacterRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.CollectionRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.ElementFromListRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.FirstNameRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.PatternRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.PostalCodeRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.WordRandomField
Sets the probability for this field returning null.
setNullProbability(double) - Method in class de.slothsoft.random.types.WordsRandomField
Sets the probability for this field returning null.
setParagraphCount(int) - Method in class de.slothsoft.random.types.WordsRandomField
Sets the standard number of paragraphs.
setPattern(String) - Method in class de.slothsoft.random.types.PatternRandomField
Sets the pattern with keys that get replaced during PatternRandomField.nextValue().
setPattern(String) - Method in class de.slothsoft.random.types.PostalCodeRandomField
Sets the pattern with keys that get replaced during PostalCodeRandomField.nextValue().
setPattern(String) - Method in class de.slothsoft.random.types.StreetRandomField
Sets the pattern with keys that get replaced during StreetRandomField.nextValue().
setProbability(double) - Method in class de.slothsoft.random.types.wordgen.Letter
Sets the probability of the character.
setStandardWordLength(double) - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
Sets the standard word length.
setStartValue(N) - Method in class de.slothsoft.random.types.AbstractNumberRandomField
Sets the start value, i.e.
setSupportedLetters(Letter...) - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
setTrueProbability(double) - Method in class de.slothsoft.random.types.BooleanRandomField
Sets the probability for this field returning true.
ShortRandomField - Class in de.slothsoft.random.types
A RandomField representing a Short or its primitive counterpart.
ShortRandomField() - Constructor for class de.slothsoft.random.types.ShortRandomField
 
StandardWordGeneratorConfig - Enum in de.slothsoft.random.types.wordgen
standardWordLength(double) - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
Sets the standard word length.
startValue(N) - Method in class de.slothsoft.random.types.AbstractNumberRandomField
Sets the start value, i.e.
startValue(Date) - Method in class de.slothsoft.random.types.BirthdayRandomField
 
startValue(Calendar) - Method in class de.slothsoft.random.types.CalendarRandomField
 
startValue(Date) - Method in class de.slothsoft.random.types.DateRandomField
 
startValue(LocalDate) - Method in class de.slothsoft.random.types.LocalDateRandomField
 
startValue(LocalDateTime) - Method in class de.slothsoft.random.types.LocalDateTimeRandomField
 
startValue(LocalTime) - Method in class de.slothsoft.random.types.LocalTimeRandomField
 
storeConfig(OutputStream, WordGeneratorConfig) - Static method in class de.slothsoft.random.types.wordgen.WordGeneratorConfigUtil
Stores the config to an output stream.
StreetRandomField - Class in de.slothsoft.random.types
A RandomField representing a String that should look like a street (i.e.
StreetRandomField() - Constructor for class de.slothsoft.random.types.StreetRandomField
Default constructor.
StreetRandomField(String[]) - Constructor for class de.slothsoft.random.types.StreetRandomField

T

toString() - Method in class de.slothsoft.random.types.wordgen.DefaultWordGeneratorConfig
 
toString() - Method in class de.slothsoft.random.types.wordgen.Letter
 
trueProbability(double) - Method in class de.slothsoft.random.types.BooleanRandomField
Sets the probability for this field returning true.

V

valueOf(String) - Static method in enum de.slothsoft.random.types.FirstNameRandomField.Gender
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.slothsoft.random.types.wordgen.StandardWordGeneratorConfig
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.slothsoft.random.types.FirstNameRandomField.Gender
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.slothsoft.random.types.wordgen.StandardWordGeneratorConfig
Returns an array containing the constants of this enum type, in the order they are declared.

W

WordGeneratorConfig - Interface in de.slothsoft.random.types.wordgen
Config for a WordRandomField.
WordGeneratorConfigUtil - Class in de.slothsoft.random.types.wordgen
A util class for handy methods surrounding the WordGeneratorConfig.
WordRandomField - Class in de.slothsoft.random.types
Generates a word after a defined config stored in WordGeneratorConfig.
WordRandomField() - Constructor for class de.slothsoft.random.types.WordRandomField
Default constructor.
WordsRandomField - Class in de.slothsoft.random.types
Generates words in sentences and paragraphs after a defined config stored in WordGeneratorConfig.
WordsRandomField() - Constructor for class de.slothsoft.random.types.WordsRandomField
 
A B C D E F G H I K L N P R S T V W 
Skip navigation links

Copyright © 2020. All rights reserved.