Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

retrostreams/android-retroatomic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Central javadoc.io Download

android-retroatomic

android-retroatomic is a backport of the java.util.concurrent.atomic classes added in Java 8 (DoubleAccumulator, LongAccumulator, DoubleAdder and LongAdder) for Android developers wanting to use the Android Studio 3.0 desugar toolchain.

There is nothing specific to Android or the desugar toolchain in this code (it could even be compiled to Java 6 bytecode) but it has a dependency on android-retrostreams which is why this exists as a separate component (the corresponding streamsupport-atomic component can't be used with android-retrostreams and android-retrostreams itself can only be used with desugar or Java 8 / 9).

Other than having a different package name this code has no further changes compared with streamsupport-atomic

Online Javadoc is available at docs

Please give feedback here if you experience any problems.

build.gradle:

dependencies {
    compile 'net.sourceforge.streamsupport:android-retroatomic:1.6.2'
}

LICENSE

GNU General Public License, version 2, with the Classpath Exception

About

Backport of Java 8 Double/Long Accumulator/Adder for Android Studio 3.x D8 / desugar toolchain, forked from https://github.com/stefan-zobel/streamsupport

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages