src.jsr166.CollectionImplementation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-all Show documentation
Show all versions of android-all Show documentation
A library jar that provides APIs for Applications written for the Google Android Platform.
/*
* 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();
}