Move to Android N-MR1 SDK.
[android_tools.git] / sdk / sources / android-25 / jsr166 / CollectionImplementation.java
blob4ba5bda7c90e383b5be666311b8f8294a8fbdf53
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 */
8 package jsr166;
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();