All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.jsr166.SynchronousQueueNotFairTest Maven / Gradle / Ivy

Go to download

A library jar that provides APIs for Applications written for the Google Android Platform.

There is a newer version: 15-robolectric-12650502
Show newest version
/*
 * Written by Doug Lea with assistance from members of JCP JSR-166
 * Expert Group and released to the public domain, as explained at
 * http://creativecommons.org/publicdomain/zero/1.0/
 * Other contributors include Andrew Wright, Jeffrey Hayes,
 * Pat Fisher, Mike Judd.
 */

package jsr166;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.SynchronousQueue;

public class SynchronousQueueNotFairTest extends BlockingQueueTest {

    protected BlockingQueue emptyCollection() {
        return new SynchronousQueue(true);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy