born2snipe / paging-spliterator

A simple API to make Java 8 streams of non-streaming API simple

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paging Spliterator

A simple API to make Java 8 streams of non-streaming API simple.

After getting used to using the Java 8 streams I found myself being frustrated coming across APIs that have not adopted or have not been updated to use the Java 8 streams yet. For example the 1.X of the AWS Java SDK does not support streams yet, but stream support is suppose to be added in the 2.X of the AWS Java SDK. So this API was created to help hide some of the boilerplate code to make something "streamable".

FYI

  • Currently this API does NOT support the splitting of a spliterator
  • Class of Interest - PageLookup
  • Example Implementation here
  • Example Usage here

About

A simple API to make Java 8 streams of non-streaming API simple

License:Other


Languages

Language:Java 100.0%