Skip to content

Commit 8f14f1d

Browse files
committed
Release 0.0.1 !
1 parent ae902d6 commit 8f14f1d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+15432
-5
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,43 @@ GWT, and RoboVM.
2121
The name comes from my dog Juniper, who seems to have a deterministic, but
2222
seemingly-random, response to any new person she meets.
2323

24+
## How to get it?
25+
26+
With Gradle, the dependency (of the core module, if you have multiple) is:
27+
28+
```groovy
29+
api "com.github.tommyettinger:juniper:0.0.1"
30+
```
31+
32+
In a libGDX project that has a GWT/HTML backend, the `html/build.gradle` file
33+
should additionally have:
34+
35+
```groovy
36+
api "com.github.tommyettinger:juniper:0.0.1:sources"
37+
```
38+
39+
And the `GdxDefinition.gwt.xml` file should have:
40+
41+
```xml
42+
<inherits name="juniper" />
43+
```
44+
45+
It may also need, in that same file (if there are problems finding classes):
46+
47+
```xml
48+
<inherits name="digital" />
49+
```
50+
51+
If you don't use Gradle, then with Maven, the dependency is:
52+
53+
```xml
54+
<dependency>
55+
<groupId>com.github.tommyettinger</groupId>
56+
<artifactId>juniper</artifactId>
57+
<version>0.0.1</version>
58+
</dependency>
59+
```
60+
2461
## License
2562

2663
[Apache License 2.0](LICENSE).

build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ apply plugin: 'java-library'
2323
apply plugin: 'com.vanniktech.maven.publish'
2424
apply plugin: 'idea'
2525

26-
sourceCompatibility = 1.7
26+
sourceCompatibility = 1.8
2727

2828
def projectName = 'juniper'
2929

@@ -81,8 +81,6 @@ dependencies {
8181
api "com.github.tommyettinger:digital:$digitalVersion"
8282
testImplementation "junit:junit:4.13.2"
8383

84-
// Should be uncommented if you target Java 8, I think.
85-
// Should stay commented out if you target Java 7 (the default).
8684
//testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.8.2"
8785

8886
constraints {

docs/apidocs/.gitkeep

Whitespace-only changes.

docs/apidocs/allclasses-index.html

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en">
3+
<head>
4+
<!-- Generated by javadoc (17) -->
5+
<title>All Classes and Interfaces (juniper 0.0.1 API)</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8+
<meta name="description" content="class index">
9+
<meta name="generator" content="javadoc/AllClassesIndexWriter">
10+
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
11+
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
12+
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
13+
<script type="text/javascript" src="script.js"></script>
14+
<script type="text/javascript" src="script-dir/jquery-3.5.1.min.js"></script>
15+
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
16+
</head>
17+
<body class="all-classes-index-page">
18+
<script type="text/javascript">var pathtoroot = "./";
19+
loadScripts(document, 'script');</script>
20+
<noscript>
21+
<div>JavaScript is disabled on your browser.</div>
22+
</noscript>
23+
<div class="flex-box">
24+
<header role="banner" class="flex-header">
25+
<nav role="navigation">
26+
<!-- ========= START OF TOP NAVBAR ======= -->
27+
<div class="top-nav" id="navbar-top">
28+
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
29+
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
30+
<li><a href="com/github/tommyettinger/random/package-summary.html">Package</a></li>
31+
<li>Class</li>
32+
<li><a href="overview-tree.html">Tree</a></li>
33+
<li><a href="index-all.html">Index</a></li>
34+
<li><a href="help-doc.html#all-classes">Help</a></li>
35+
</ul>
36+
</div>
37+
<div class="sub-nav">
38+
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
39+
<input type="text" id="search-input" value="search" disabled="disabled">
40+
<input type="reset" id="reset-button" value="reset" disabled="disabled">
41+
</div>
42+
</div>
43+
<!-- ========= END OF TOP NAVBAR ========= -->
44+
<span class="skip-nav" id="skip-navbar-top"></span></nav>
45+
</header>
46+
<div class="flex-content">
47+
<main role="main">
48+
<div class="header">
49+
<h1 title="All Classes and Interfaces" class="title">All Classes and Interfaces</h1>
50+
</div>
51+
<div id="all-classes-table">
52+
<div class="caption"><span>Classes</span></div>
53+
<div class="summary-table two-column-summary">
54+
<div class="table-header col-first">Class</div>
55+
<div class="table-header col-last">Description</div>
56+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/ChopRandom.html" title="class in com.github.tommyettinger.random">ChopRandom</a></div>
57+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
58+
<div class="block">A random number generator that is optimized for performance on 32-bit machines and with Google Web Toolkit, this uses
59+
only add, bitwise-rotate, and XOR operations (no multiplication).</div>
60+
</div>
61+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/Deserializer.html" title="class in com.github.tommyettinger.random">Deserializer</a></div>
62+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
63+
<div class="block">Allows deserializing any type of EnhancedRandom by looking up its tag in a registry.</div>
64+
</div>
65+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/DistinctRandom.html" title="class in com.github.tommyettinger.random">DistinctRandom</a></div>
66+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
67+
<div class="block">A variant on Java 8's SplittableRandom algorithm, removing the splittable quality so this has one possible stream.</div>
68+
</div>
69+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/EnhancedRandom.html" title="class in com.github.tommyettinger.random">EnhancedRandom</a></div>
70+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
71+
<div class="block">A superset of the functionality in <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Random.html" title="class or interface in java.util" class="external-link"><code>Random</code></a>, meant for random number generators
72+
that would be too bare-bones with just Random's methods.</div>
73+
</div>
74+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/FourWheelRandom.html" title="class in com.github.tommyettinger.random">FourWheelRandom</a></div>
75+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
76+
<div class="block">A random number generator that is extremely fast on Java 16, and has a very large probable period.</div>
77+
</div>
78+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/LaserRandom.html" title="class in com.github.tommyettinger.random">LaserRandom</a></div>
79+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
80+
<div class="block">A faster and much-higher-quality substitute for <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Random.html" title="class or interface in java.util" class="external-link"><code>Random</code></a>.</div>
81+
</div>
82+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/LineWobble.html" title="class in com.github.tommyettinger.random">LineWobble</a></div>
83+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
84+
<div class="block">Provides 1D noise methods that can be queried at any point on a line to get a continuous random value.</div>
85+
</div>
86+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/MizuchiRandom.html" title="class in com.github.tommyettinger.random">MizuchiRandom</a></div>
87+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
88+
<div class="block">A relatively-simple RNG that's similar to <a href="com/github/tommyettinger/random/LaserRandom.html" title="class in com.github.tommyettinger.random"><code>LaserRandom</code></a> with less correlation between similar initial states,
89+
but without the ability to <a href="com/github/tommyettinger/random/EnhancedRandom.html#skip(long)"><code>EnhancedRandom.skip(long)</code></a>.</div>
90+
</div>
91+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/RomuTrioRandom.html" title="class in com.github.tommyettinger.random">RomuTrioRandom</a></div>
92+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
93+
<div class="block">A well-studied RNG that can be quite fast in some circumstances.</div>
94+
</div>
95+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/StrangerRandom.html" title="class in com.github.tommyettinger.random">StrangerRandom</a></div>
96+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
97+
<div class="block">A random number generator that acts as a counterpart to <a href="com/github/tommyettinger/random/FourWheelRandom.html" title="class in com.github.tommyettinger.random"><code>FourWheelRandom</code></a> by guaranteeing a slightly longer period
98+
and potentially being faster in some situations because it uses no multiplication.</div>
99+
</div>
100+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/TricycleRandom.html" title="class in com.github.tommyettinger.random">TricycleRandom</a></div>
101+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
102+
<div class="block">An unusual RNG that's extremely fast on HotSpot JDK 16 and higher, and still fairly fast on earlier JDKs.</div>
103+
</div>
104+
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/TrimRandom.html" title="class in com.github.tommyettinger.random">TrimRandom</a></div>
105+
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
106+
<div class="block">A random number generator that is very fast on Java 16+, has both a very large probable period and a large guaranteed
107+
minimum period, and uses only add, bitwise-rotate, and XOR operations (no multiplication).</div>
108+
</div>
109+
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/github/tommyettinger/random/Xoshiro256StarStarRandom.html" title="class in com.github.tommyettinger.random">Xoshiro256StarStarRandom</a></div>
110+
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
111+
<div class="block">A random number generator that is fairly fast and guarantees 4-dimensional equidistribution (with the exception of the
112+
quartet with four zeroes in a row, every quartet of long results is produced exactly once over the period).</div>
113+
</div>
114+
</div>
115+
</div>
116+
</main>
117+
</div>
118+
</div>
119+
</body>
120+
</html>

docs/apidocs/allpackages-index.html

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en">
3+
<head>
4+
<!-- Generated by javadoc (17) -->
5+
<title>All Packages (juniper 0.0.1 API)</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8+
<meta name="description" content="package index">
9+
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
10+
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
11+
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
12+
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
13+
<script type="text/javascript" src="script.js"></script>
14+
<script type="text/javascript" src="script-dir/jquery-3.5.1.min.js"></script>
15+
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
16+
</head>
17+
<body class="all-packages-index-page">
18+
<script type="text/javascript">var pathtoroot = "./";
19+
loadScripts(document, 'script');</script>
20+
<noscript>
21+
<div>JavaScript is disabled on your browser.</div>
22+
</noscript>
23+
<div class="flex-box">
24+
<header role="banner" class="flex-header">
25+
<nav role="navigation">
26+
<!-- ========= START OF TOP NAVBAR ======= -->
27+
<div class="top-nav" id="navbar-top">
28+
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
29+
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
30+
<li><a href="com/github/tommyettinger/random/package-summary.html">Package</a></li>
31+
<li>Class</li>
32+
<li><a href="overview-tree.html">Tree</a></li>
33+
<li><a href="index-all.html">Index</a></li>
34+
<li><a href="help-doc.html#all-packages">Help</a></li>
35+
</ul>
36+
</div>
37+
<div class="sub-nav">
38+
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
39+
<input type="text" id="search-input" value="search" disabled="disabled">
40+
<input type="reset" id="reset-button" value="reset" disabled="disabled">
41+
</div>
42+
</div>
43+
<!-- ========= END OF TOP NAVBAR ========= -->
44+
<span class="skip-nav" id="skip-navbar-top"></span></nav>
45+
</header>
46+
<div class="flex-content">
47+
<main role="main">
48+
<div class="header">
49+
<h1 title="All&amp;nbsp;Packages" class="title">All&nbsp;Packages</h1>
50+
</div>
51+
<div class="caption"><span>Package Summary</span></div>
52+
<div class="summary-table two-column-summary">
53+
<div class="table-header col-first">Package</div>
54+
<div class="table-header col-last">Description</div>
55+
<div class="col-first even-row-color"><a href="com/github/tommyettinger/random/package-summary.html">com.github.tommyettinger.random</a></div>
56+
<div class="col-last even-row-color">&nbsp;</div>
57+
</div>
58+
</main>
59+
</div>
60+
</div>
61+
</body>
62+
</html>

0 commit comments

Comments
 (0)