blob: 4ba5bda7c90e383b5be666311b8f8294a8fbdf53 [file] [log] [blame]
/*
* 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();
}