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

src.jsr166.CollectionImplementation 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 and Martin Buchholz 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/
 */

package jsr166;

import java.util.Collection;

/** Allows tests to work with different Collection implementations. */
public interface CollectionImplementation {
    /** Returns the Collection class. */
    public Class klazz();
    /** Returns an empty collection. */
    public Collection emptyCollection();
    public Object makeElement(int i);
    public boolean isConcurrent();
    public boolean permitsNulls();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy