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/
10 import java
.util
.Collection
;
12 /** Allows tests to work with different Collection implementations. */
13 public interface CollectionImplementation
{
14 /** Returns the Collection class. */
15 public Class
<?
> klazz();
16 /** Returns an empty collection. */
17 public Collection
emptyCollection();
18 public Object
makeElement(int i
);
19 public boolean isConcurrent();
20 public boolean permitsNulls();