Skip to content

Commit

Permalink
Release 0.1.2 !
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyettinger committed May 13, 2021
1 parent 6607d0e commit a21c386
Show file tree
Hide file tree
Showing 364 changed files with 5,901 additions and 5,887 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,20 @@ the JDK only offers `int`, `long`, and `double`, and primitive `Comparator`s (wh
because there are some randomized methods here and `java.util.SplittableRandom` isn't available everywhere, an alternative
high-quality and very-fast random number generator is here, `com.github.tommyettinger.ds.support.LaserRandom`, which extends
`java.util.Random` for maximum compatibility. It implements `com.github.tommyettinger.ds.support.EnhancedRandom`, an interface
that allows external code to match the API used by LaserRandom; EnhancedRandom is mostly default methods. There's also another
implementation of EnhancedRandom here, `com.github.tommyettinger.ds.support.TricycleRandom`, which can be significantly faster
but doesn't always produce very-random numbers right at the start of usage.
that allows external code to match the API used by LaserRandom; EnhancedRandom is mostly default methods. There's also more
implementations of EnhancedRandom here. `com.github.tommyettinger.ds.support.TricycleRandom` can be significantly faster
but doesn't always produce very-random numbers right at the start of usage. `com.github.tommyettinger.ds.support.DistinctRandom`
is very similar to JDK 8's SplittableRandom, without the splitting, and will produce every possible `long` with its
`nextLong()` method before it ever repeats a returned value.

## How do I get it?

You have two options: Maven Central for stable-ish releases, or JitPack to select a commit of your choice to build.

Maven Central uses the dependency `api 'com.github.tommyettinger:jdkgdxds:0.1.1'` (you can use `implementation` instead
Maven Central uses the dependency `api 'com.github.tommyettinger:jdkgdxds:0.1.2'` (you can use `implementation` instead
of `api` if you don't use the `java-library` plugin). It does not need any additional repository to be specified in most
cases; if it can't be found, you may need the repository `mavenCentral()` . If you have an HTML module, add
`implementation 'com.github.tommyettinger:jdkgdxds:0.1.1:sources'` to its dependencies, and in its
`implementation 'com.github.tommyettinger:jdkgdxds:0.1.2:sources'` to its dependencies, and in its
`GdxDefinition.gwt.xml` (in the HTML module), add
```xml
<inherits name="jdkgdxds" />
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def projectName = 'jdkgdxds'
version "$VERSION_NAME"
group 'com.github.tommyettinger'

//api "com.github.tommyettinger:jdkgdxds:0.1.1"
//api "com.github.tommyettinger:jdkgdxds:0.1.2"

[compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'

Expand All @@ -41,7 +41,7 @@ if (JavaVersion.current().isJava9Compatible()) {
}
compileJava.exclude("emu")
javadoc.exclude("emu")
javadoc.options.source("15")
javadoc.options.source("16")
javadoc.destinationDir = file("docs/apidocs")

sourceSets.test.resources.srcDirs = [ file('src/test/resources').path ]
Expand Down
30 changes: 15 additions & 15 deletions docs/apidocs/allclasses-index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/apidocs/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (16) -->
<title>All Packages (jdkgdxds 0.1.2-SNAPSHOT API)</title>
<title>All Packages (jdkgdxds 0.1.2 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="package index">
Expand Down
4 changes: 2 additions & 2 deletions docs/apidocs/com/github/tommyettinger/ds/Arrangeable.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (16) -->
<title>Arrangeable (jdkgdxds 0.1.2-SNAPSHOT API)</title>
<title>Arrangeable (jdkgdxds 0.1.2 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: com.github.tommyettinger.ds, interface: Arrangeable">
Expand Down Expand Up @@ -172,7 +172,7 @@ <h3>reverse</h3>
<h3>size</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">size</span>()</div>
<div class="block">Returns the number of elements in this Arrangeable.
Often this is shared with <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Collection.html#size()" title="class or interface in java.util" class="external-link"><code>Collection.size()</code></a>, but isn't always.</div>
Often this is shared with <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Collection.html#size()" title="class or interface in java.util" class="external-link"><code>Collection.size()</code></a>, but isn't always.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the number of elements in this Arrangeable</dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc (16) -->
<title>BinaryHeap.HeapIterator (jdkgdxds 0.1.2-SNAPSHOT API)</title>
<title>BinaryHeap.HeapIterator (jdkgdxds 0.1.2 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: com.github.tommyettinger.ds, class: BinaryHeap, class: HeapIterator">
Expand Down Expand Up @@ -74,22 +74,22 @@
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">com.github.tommyettinger.ds</a></div>
<h1 title="Class BinaryHeap.HeapIterator" class="title">Class BinaryHeap.HeapIterator&lt;T extends <a href="BinaryHeap.Node.html" title="class in com.github.tommyettinger.ds">BinaryHeap.Node</a>&gt;</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">com.github.tommyettinger.ds.BinaryHeap.HeapIterator&lt;T&gt;</div>
</div>
<section class="description">
<dl class="notes">
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a>&lt;T&gt;</code></dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a>&lt;T&gt;</code></dd>
</dl>
<dl class="notes">
<dt>Enclosing class:</dt>
<dd><a href="BinaryHeap.html" title="class in com.github.tommyettinger.ds">BinaryHeap</a>&lt;<a href="BinaryHeap.html" title="type parameter in BinaryHeap">T</a> extends <a href="BinaryHeap.Node.html" title="class in com.github.tommyettinger.ds">BinaryHeap.Node</a>&gt;</dd>
</dl>
<hr>
<div class="type-signature"><span class="modifiers">public static class </span><span class="element-name type-name-label">BinaryHeap.HeapIterator&lt;T extends <a href="BinaryHeap.Node.html" title="class in com.github.tommyettinger.ds">BinaryHeap.Node</a>&gt;</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>
implements <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a>&lt;T&gt;</span></div>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>
implements <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a>&lt;T&gt;</span></div>
</section>
<section class="summary">
<ul class="summary-list">
Expand Down Expand Up @@ -134,11 +134,11 @@ <h2>Method Summary</h2>
</div>
</div>
<div class="inherited-list">
<h3 id="methods.inherited.from.class.java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
<h3 id="methods.inherited.from.class.java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
<div class="inherited-list">
<h3 id="methods.inherited.from.class.java.util.Iterator">Methods inherited from interface&nbsp;java.util.<a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Iterator.html#forEachRemaining(java.util.function.Consumer)" title="class or interface in java.util" class="external-link">forEachRemaining</a>, <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Iterator.html#remove()" title="class or interface in java.util" class="external-link">remove</a></code></div>
<h3 id="methods.inherited.from.class.java.util.Iterator">Methods inherited from interface&nbsp;java.util.<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Iterator.html#forEachRemaining(java.util.function.Consumer)" title="class or interface in java.util" class="external-link">forEachRemaining</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Iterator.html#remove()" title="class or interface in java.util" class="external-link">remove</a></code></div>
</section>
</li>
</ul>
Expand Down Expand Up @@ -173,7 +173,7 @@ <h3>hasNext</h3>
return an element rather than throwing an exception.)</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Iterator.html#hasNext()" title="class or interface in java.util" class="external-link">hasNext</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a>&lt;<a href="BinaryHeap.HeapIterator.html" title="type parameter in BinaryHeap.HeapIterator">T</a> extends <a href="BinaryHeap.Node.html" title="class in com.github.tommyettinger.ds">BinaryHeap.Node</a>&gt;</code></dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Iterator.html#hasNext()" title="class or interface in java.util" class="external-link">hasNext</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a>&lt;<a href="BinaryHeap.HeapIterator.html" title="type parameter in BinaryHeap.HeapIterator">T</a> extends <a href="BinaryHeap.Node.html" title="class in com.github.tommyettinger.ds">BinaryHeap.Node</a>&gt;</code></dd>
<dt>Returns:</dt>
<dd><code>true</code> if the iteration has more elements</dd>
</dl>
Expand All @@ -186,7 +186,7 @@ <h3>next</h3>
<div class="block">Returns the next element in the iteration.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Iterator.html#next()" title="class or interface in java.util" class="external-link">next</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a>&lt;<a href="BinaryHeap.HeapIterator.html" title="type parameter in BinaryHeap.HeapIterator">T</a> extends <a href="BinaryHeap.Node.html" title="class in com.github.tommyettinger.ds">BinaryHeap.Node</a>&gt;</code></dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Iterator.html#next()" title="class or interface in java.util" class="external-link">next</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a>&lt;<a href="BinaryHeap.HeapIterator.html" title="type parameter in BinaryHeap.HeapIterator">T</a> extends <a href="BinaryHeap.Node.html" title="class in com.github.tommyettinger.ds">BinaryHeap.Node</a>&gt;</code></dd>
<dt>Returns:</dt>
<dd>the next element in the iteration</dd>
</dl>
Expand Down
Loading

0 comments on commit a21c386

Please sign in to comment.