SafeDK
Sign upAdd Your SDK

Stream API from Java 8 rewritten on iterators for Java 7 and below.

Main Features

- Functional interfaces (Supplier, Function, Consumer etc)

- Stream/IntStream/LongStream/DoubleStream (without parallel processing, but with a variety of additional methods and with custom operators)

- Optional/OptionalInt/OptionalLong/OptionalDouble classes

- Exceptional class - functional way to deal with exceptions

- Objects from Java 7

SDK for Android

  • Added LongStream and DoubleStream 
  • Added OptionalLong and OptionalDouble 
  • Added functional interfaces for operating with long and double primitive types 
  • Added Exceptional.of(Throwable) factory method (thanks to @arturdm) 
  • Added mapToLong, mapToDouble, flatMapToLong, flatMapToDouble to Stream 
  • Added mapToLong, mapToDouble to IntStream 
  • Added mapToLong, mapToDouble to Optional 
  • Added filter, ifPresentOrElse, mapToLong and mapToDouble methods to OptionalInt 
  • Added longs and doubles methods to RandomCompat 
  • Fixed IllegalArgumentException in RandomCompat ints method, when bound is greater than max int 
  • Fixed IntStream rangeClosed deadlock on Integer.MAX_VALUE bound 
  • Stream range and rangeClosed now uses IntStream/LongStream internally 
  • Removed unnecessary abstraction in primitive streams 
  • Small other optimizations and javadocs fixes

Documentation

Example A

Selected Apps that use this SDK

4zscblt5hestyxqre5v5ptiih hvlnejkdkjopv9ozu1qui7yuuckdqtws1gbjnv2emmji61zbhjqkh

Retrica - Selfie, Sticker, GIF

Itnuxfid5jzv4uzzqs8b  8t9 qecjmizwjail6jxjm mgmhgmbuo0rg16xpvqfk4qgw5av6wpsnxlyt

iHeartRadio - Radio & Music

2gzcoizrqjrj6iqrsuadtgcwkwyqmrp57dkbf8orodofcctgo1pkrtpyf89i9omoxgm2xd4jaa2s13bh

SNOW - Selfie, Motion sticker

Mmzleypplfjuay vrj5b22fpsw350r0vht 0apciwoutiovylim rnfkaka1zsvtrtavjfv5kodwm6mf

ClassDojo

Wpn5zrjhzjit6nk p4o8s2ozmouziw3rihzcyw95suvpnwx3p47yvomynrhbzue382bsc3qizeeq5pyh

Yandex.Maps

Yx0gbrrayuswm9gahv 3jcaulgcaexpva1qnv9dle 2e0fm2n2kj5lsrme7hsbs yxgbvelg 012flul

trivago - The Hotel Search

Similar SDKs

MORE

Reviews

Rate Now
0
0
0
0
0
0

Start a new discussion about Lightweight-Stream-API

×
0
/1000
Login