Apache Commons logo Apache Commons RNG

API Change Analysis Results

The summary of the API changes between artifacts org.apache.commons:commons-rng-simple:jar:1.4 and org.apache.commons:commons-rng-simple:jar:1.5.

Breaking Changes

Binary

Difference Code Element Description Justification
java.method.abstractMethodAdded method java.lang.Object org.apache.commons.rng.simple.internal.NativeSeedType::createSeed(int, int, int) Abstract method was added. Abstract method added to enum; all implementations are within this class. This is an internal package with no compatibility enforcement.

Source

Difference Code Element Description Justification
java.method.abstractMethodAdded method java.lang.Object org.apache.commons.rng.simple.internal.NativeSeedType::createSeed(int, int, int) Abstract method was added. Abstract method added to enum; all implementations are within this class. This is an internal package with no compatibility enforcement.

Non-breaking Changes

Binary

Difference Code Element Description Justification
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L128_X1024_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L128_X128_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L128_X256_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L32_X64_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L64_X1024_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L64_X128_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L64_X128_SS Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L64_X256_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L128_X1024_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L128_X128_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L128_X256_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L32_X64_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L64_X1024_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L64_X128_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L64_X128_SS Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L64_X256_MIX Static field added to class.
java.method.added method boolean org.apache.commons.rng.simple.RandomSource::isSplittable() Method was added.
java.method.defaultMethodAddedToInterface method double org.apache.commons.rng.UniformRandomProvider::nextDouble(double) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method double org.apache.commons.rng.UniformRandomProvider::nextDouble(double, double) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method float org.apache.commons.rng.UniformRandomProvider::nextFloat(float) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method float org.apache.commons.rng.UniformRandomProvider::nextFloat(float, float) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method int org.apache.commons.rng.UniformRandomProvider::nextInt(int, int) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.DoubleStream org.apache.commons.rng.UniformRandomProvider::doubles() A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.DoubleStream org.apache.commons.rng.UniformRandomProvider::doubles(double, double) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.DoubleStream org.apache.commons.rng.UniformRandomProvider::doubles(long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.DoubleStream org.apache.commons.rng.UniformRandomProvider::doubles(long, double, double) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.IntStream org.apache.commons.rng.UniformRandomProvider::ints() A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.IntStream org.apache.commons.rng.UniformRandomProvider::ints(int, int) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.IntStream org.apache.commons.rng.UniformRandomProvider::ints(long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.IntStream org.apache.commons.rng.UniformRandomProvider::ints(long, int, int) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.LongStream org.apache.commons.rng.UniformRandomProvider::longs() A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.LongStream org.apache.commons.rng.UniformRandomProvider::longs(long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.LongStream org.apache.commons.rng.UniformRandomProvider::longs(long, long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.LongStream org.apache.commons.rng.UniformRandomProvider::longs(long, long, long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method long org.apache.commons.rng.UniformRandomProvider::nextLong(long, long) A default method has been added to the interface.

Source

Difference Code Element Description Justification
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L128_X1024_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L128_X128_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L128_X256_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L32_X64_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L64_X1024_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L64_X128_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L64_X128_SS Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.RandomSource.L64_X256_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L128_X1024_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L128_X128_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L128_X256_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L32_X64_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L64_X1024_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L64_X128_MIX Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L64_X128_SS Static field added to class.
java.field.addedStaticField field org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal.L64_X256_MIX Static field added to class.
java.method.added method boolean org.apache.commons.rng.simple.RandomSource::isSplittable() Method was added.
java.method.defaultMethodAddedToInterface method double org.apache.commons.rng.UniformRandomProvider::nextDouble(double) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method double org.apache.commons.rng.UniformRandomProvider::nextDouble(double, double) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method float org.apache.commons.rng.UniformRandomProvider::nextFloat(float) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method float org.apache.commons.rng.UniformRandomProvider::nextFloat(float, float) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method int org.apache.commons.rng.UniformRandomProvider::nextInt(int, int) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.DoubleStream org.apache.commons.rng.UniformRandomProvider::doubles() A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.DoubleStream org.apache.commons.rng.UniformRandomProvider::doubles(double, double) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.DoubleStream org.apache.commons.rng.UniformRandomProvider::doubles(long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.DoubleStream org.apache.commons.rng.UniformRandomProvider::doubles(long, double, double) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.IntStream org.apache.commons.rng.UniformRandomProvider::ints() A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.IntStream org.apache.commons.rng.UniformRandomProvider::ints(int, int) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.IntStream org.apache.commons.rng.UniformRandomProvider::ints(long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.IntStream org.apache.commons.rng.UniformRandomProvider::ints(long, int, int) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.LongStream org.apache.commons.rng.UniformRandomProvider::longs() A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.LongStream org.apache.commons.rng.UniformRandomProvider::longs(long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.LongStream org.apache.commons.rng.UniformRandomProvider::longs(long, long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method java.util.stream.LongStream org.apache.commons.rng.UniformRandomProvider::longs(long, long, long) A default method has been added to the interface.
java.method.defaultMethodAddedToInterface method long org.apache.commons.rng.UniformRandomProvider::nextLong(long, long) A default method has been added to the interface.

Changes Not Affecting The API

Binary

Difference Code Element Description Justification
java.method.noLongerAbstract method boolean org.apache.commons.rng.UniformRandomProvider::nextBoolean() Method no longer abstract
java.method.noLongerAbstract method double org.apache.commons.rng.UniformRandomProvider::nextDouble() Method no longer abstract
java.method.noLongerAbstract method float org.apache.commons.rng.UniformRandomProvider::nextFloat() Method no longer abstract
java.method.noLongerAbstract method int org.apache.commons.rng.UniformRandomProvider::nextInt() Method no longer abstract
java.method.noLongerAbstract method int org.apache.commons.rng.UniformRandomProvider::nextInt(int) Method no longer abstract
java.method.noLongerAbstract method java.lang.Object org.apache.commons.rng.simple.internal.NativeSeedType::createSeed(int) Method no longer abstract
java.method.noLongerAbstract method long org.apache.commons.rng.UniformRandomProvider::nextLong(long) Method no longer abstract
java.method.noLongerAbstract method void org.apache.commons.rng.UniformRandomProvider::nextBytes(byte[]) Method no longer abstract
java.method.noLongerAbstract method void org.apache.commons.rng.UniformRandomProvider::nextBytes(byte[], int, int) Method no longer abstract
java.method.nowDefault method boolean org.apache.commons.rng.UniformRandomProvider::nextBoolean() Method has the default implementation in the interface now.
java.method.nowDefault method double org.apache.commons.rng.UniformRandomProvider::nextDouble() Method has the default implementation in the interface now.
java.method.nowDefault method float org.apache.commons.rng.UniformRandomProvider::nextFloat() Method has the default implementation in the interface now.
java.method.nowDefault method int org.apache.commons.rng.UniformRandomProvider::nextInt() Method has the default implementation in the interface now.
java.method.nowDefault method int org.apache.commons.rng.UniformRandomProvider::nextInt(int) Method has the default implementation in the interface now.
java.method.nowDefault method long org.apache.commons.rng.UniformRandomProvider::nextLong(long) Method has the default implementation in the interface now.
java.method.nowDefault method void org.apache.commons.rng.UniformRandomProvider::nextBytes(byte[]) Method has the default implementation in the interface now.
java.method.nowDefault method void org.apache.commons.rng.UniformRandomProvider::nextBytes(byte[], int, int) Method has the default implementation in the interface now.

Source

Difference Code Element Description Justification
java.method.noLongerAbstract method boolean org.apache.commons.rng.UniformRandomProvider::nextBoolean() Method no longer abstract
java.method.noLongerAbstract method double org.apache.commons.rng.UniformRandomProvider::nextDouble() Method no longer abstract
java.method.noLongerAbstract method float org.apache.commons.rng.UniformRandomProvider::nextFloat() Method no longer abstract
java.method.noLongerAbstract method int org.apache.commons.rng.UniformRandomProvider::nextInt() Method no longer abstract
java.method.noLongerAbstract method int org.apache.commons.rng.UniformRandomProvider::nextInt(int) Method no longer abstract
java.method.noLongerAbstract method java.lang.Object org.apache.commons.rng.simple.internal.NativeSeedType::createSeed(int) Method no longer abstract
java.method.noLongerAbstract method long org.apache.commons.rng.UniformRandomProvider::nextLong(long) Method no longer abstract
java.method.noLongerAbstract method void org.apache.commons.rng.UniformRandomProvider::nextBytes(byte[]) Method no longer abstract
java.method.noLongerAbstract method void org.apache.commons.rng.UniformRandomProvider::nextBytes(byte[], int, int) Method no longer abstract
java.method.nowDefault method boolean org.apache.commons.rng.UniformRandomProvider::nextBoolean() Method has the default implementation in the interface now.
java.method.nowDefault method double org.apache.commons.rng.UniformRandomProvider::nextDouble() Method has the default implementation in the interface now.
java.method.nowDefault method float org.apache.commons.rng.UniformRandomProvider::nextFloat() Method has the default implementation in the interface now.
java.method.nowDefault method int org.apache.commons.rng.UniformRandomProvider::nextInt() Method has the default implementation in the interface now.
java.method.nowDefault method int org.apache.commons.rng.UniformRandomProvider::nextInt(int) Method has the default implementation in the interface now.
java.method.nowDefault method long org.apache.commons.rng.UniformRandomProvider::nextLong(long) Method has the default implementation in the interface now.
java.method.nowDefault method void org.apache.commons.rng.UniformRandomProvider::nextBytes(byte[]) Method has the default implementation in the interface now.
java.method.nowDefault method void org.apache.commons.rng.UniformRandomProvider::nextBytes(byte[], int, int) Method has the default implementation in the interface now.