java8.util.concurrent.Mock Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of streamsupport Show documentation
Show all versions of streamsupport Show documentation
streamsupport is a backport of the Java 8 java.util.function (functional interfaces) and
java.util.stream (streams) API for Java 6 / 7 and Android developers
The newest version!
/*
* Written by Stefan Zobel and released to the
* public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package java8.util.concurrent;
/**
* A mock class for the {@code ForkJoinPool.MemBar} emulation of the
* {@code sun.misc.Unsafe fence()} methods
*/
final class Mock {
private volatile int v;
Mock() {
}
}