ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/CollectionImplementation.java
Revision: 1.1
Committed: Sun Jun 14 20:58:14 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Log Message:
add support for parameterized test execution; add support for automatically executing jdk8+ tests; add tests for JDK-8085978

File Contents

# User Rev Content
1 jsr166 1.1 /*
2     * Written by Doug Lea and Martin Buchholz with assistance from
3     * members of JCP JSR-166 Expert Group and released to the public
4     * domain, as explained at
5     * http://creativecommons.org/publicdomain/zero/1.0/
6     */
7    
8     import java.util.Collection;
9    
10     /** Allows tests to work with different Collection implementations. */
11     public interface CollectionImplementation {
12     /** Returns the Collection class. */
13     public Class<?> klazz();
14     /** Returns an empty collection. */
15     public Collection emptyCollection();
16     public Object makeElement(int i);
17     public boolean isConcurrent();
18     public boolean permitsNulls();
19     }