public final class LongFactory extends RandomFactoryBase<Long>
| Constructor and Description |
|---|
LongFactory(RandomValueGenerator randomValueGenerator)
Construct a new Long object factory.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
create()
Create a new Long object.
|
getRandomValueGeneratorpublic LongFactory(RandomValueGenerator randomValueGenerator) throws IllegalArgumentException
randomValueGenerator - A random value generator used by the Factory to generate random values.IllegalArgumentException - If the specified randomValueGenerator is deemed illegal. For example, if it is null.Copyright © 2010–2020 meanbean. All rights reserved.