[cvs] / jsr166 / src / test / tck / CollectionImplementation.java Repository:
ViewVC logotype

View of /jsr166/src/test/tck/CollectionImplementation.java

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.1 - (download) (annotate)
Sun Jun 14 20:58:14 2015 UTC (2 years ago) by jsr166
Branch: MAIN
add support for parameterized test execution; add support for automatically executing jdk8+ tests; add tests for JDK-8085978
 * 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/

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();

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8