Java library for random data generation.
JRand is heavily inspired by ChanceJS and tries to bring together a lot of that functionality to Java.
In JRand there are Generator
's which are reusable components to generate all sorts of things. You can get
access to any generator you wish via the JRand
facade class.
The library is still under development with weekly releases of new generators.
Builder style random data generators with a lot of options
JRand.string().pool("abcd").length(3).gen(); => "bcc"
JRand.firstname().gender("m").gen(); => "Sean"
// ...Read our documentation for a lot more examples!
[>>> Documentation](https://xdrop.github.io/jRand)
## Installation
You can install `JRand` via Maven Central:
**Maven**
```xml
<dependency>
<groupId>me.xdrop</groupId>
<artifactId>jrand</artifactId>
<version>0.2.5-alpha</version>
</dependency>
Gradle:
compile 'me.xdrop:jrand:0.2.5-alpha'
You can access documentation here
Copyright 2018 - xdrop
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.