public class RandomBooleanFactory extends LoremIpsumObjectFactory<Boolean>
ClassBasedFactory approach for creating a Boolean, because that will invoke
Boolean.Boolean(String) with a randomly generated String, which will always result in a value of false.| Constructor and Description |
|---|
RandomBooleanFactory() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
_createLoremIpsumObject(@Nullable Type[] genericMetaData,
@Nullable Map<String,ClassUsageInfo<?>> knownInstances,
LoremIpsumConfig loremIpsumConfig,
@Nullable List<Exception> exceptions) |
createLoremIpsumObject, createLoremIpsumObject, createLoremIpsumObject, isValidForTypepublic Boolean _createLoremIpsumObject(@Nullable @Nullable Type[] genericMetaData, @Nullable @Nullable Map<String,ClassUsageInfo<?>> knownInstances, LoremIpsumConfig loremIpsumConfig, @Nullable @Nullable List<Exception> exceptions)
knownInstances - Not used.loremIpsumConfig - Not used.exceptions - Not used.LoremIpsumGenerator.getRandomBoolean().Copyright © 2019–2020. All rights reserved.