jrand

Java random data generation library

Лицензия

Лицензия

Группа

Группа

me.xdrop
Идентификатор

Идентификатор

jrand
Последняя версия

Последняя версия

0.2.7-alpha
Дата

Дата

Тип

Тип

jar
Описание

Описание

jrand
Java random data generation library
Система контроля версий

Система контроля версий

https://github.com/xdrop/jrand

Скачать jrand

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/me.xdrop/jrand/ -->
<dependency>
    <groupId>me.xdrop</groupId>
    <artifactId>jrand</artifactId>
    <version>0.2.7-alpha</version>
</dependency>
// https://jarcasting.com/artifacts/me.xdrop/jrand/
implementation 'me.xdrop:jrand:0.2.7-alpha'
// https://jarcasting.com/artifacts/me.xdrop/jrand/
implementation ("me.xdrop:jrand:0.2.7-alpha")
'me.xdrop:jrand:jar:0.2.7-alpha'
<dependency org="me.xdrop" name="jrand" rev="0.2.7-alpha">
  <artifact name="jrand" type="jar" />
</dependency>
@Grapes(
@Grab(group='me.xdrop', module='jrand', version='0.2.7-alpha')
)
libraryDependencies += "me.xdrop" % "jrand" % "0.2.7-alpha"
[me.xdrop/jrand "0.2.7-alpha"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
me.xdrop » jrand-core jar 0.2.7-alpha
me.xdrop » jrand-test jar 0.2.7-alpha
me.xdrop » jrand-annotation-processor jar 0.2.7-alpha

Модули Проекта

Данный проект не имеет модулей.

Build Status Documentation Download

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.

Examples

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

Installation

You can install JRand via Maven Central:

Maven

<dependency>
  <groupId>me.xdrop</groupId>
  <artifactId>jrand</artifactId>
  <version>0.2.5-alpha</version>
</dependency>

Gradle:

compile 'me.xdrop:jrand:0.2.5-alpha'

Generators

Basic

Text

Person

Location

Time

Money

Documentation

You can access documentation here

License

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.

Версии библиотеки

Версия
0.2.7-alpha
0.2.6-alpha
0.2.5-alpha
0.2.4-alpha
0.2.3-alpha
0.2.2-alpha
0.2.0-alpha