Javadoc
Maven
Add the JitPack repository to your pom.xml
:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
And add the dependency:
<dependency>
<groupId>io.github.gdejohn</groupId>
<artifactId>procrastination</artifactId>
<version>0.3.0</version>
</dependency>
See instructions for other build tools at JitPack.
Known Issues
Sequence.group(BiPredicate)
doesn't do what it says it does (#16)
Changelog
There were 35 commits between 0.2.0 and this release.
Changed
Either
,Maybe
,Pair
, andSequence
now consistently disallow null elements- Renamed
Sequence.uncons()
toSequence.maybe()
Fixed
- Space leak in
Sequence.prefixes()
Removed
Sequence.matchOrThrow()
,Sequence.matchOrThrow(Supplier)
,Sequence.matchLazyOrThrow()
,Sequence.matchLazyOrThrow(Supplier)
Either.rightOr(Object)
,Either.rightOr(Supplier)
,Either.rightOr(Function)
,Either.rightOrThrow()
,Either.rightOrThrow(Supplier)
Either.leftOr(Object)
,Either.leftOr(Supplier)
,Either.leftOr(Function)
,Either.leftOrThrow()
,Either.leftOrThrow(Supplier)
Either.map(Function,Either)
,Either.flatMap(Function,Either)
,Either.apply(Either,Either)