Moved IndexedCollection to collection package. Only interfaces and utilities shall reside in the top-level package.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374401 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2012-08-17 19:13:50 +00:00
parent c39fd281b7
commit 2f87b3c187
2 changed files with 7 additions and 4 deletions

View File

@ -14,12 +14,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.commons.collections;
package org.apache.commons.collections.collection;
import java.util.Collection;
import java.util.HashMap;
import org.apache.commons.collections.collection.AbstractCollectionDecorator;
import org.apache.commons.collections.Transformer;
/**
* An IndexedCollection is a Map-like view onto a Collection. It accepts a

View File

@ -14,17 +14,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.commons.collections;
package org.apache.commons.collections.collection;
import static java.util.Arrays.asList;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertNull;
import org.apache.commons.collections.AbstractDecoratedCollectionTest;
import org.apache.commons.collections.Transformer;
import org.apache.commons.collections.collection.IndexedCollection;
import org.junit.Before;
import org.junit.Test;
@SuppressWarnings("boxing")
public class TestIndexedCollection extends AbstractDecoratedCollectionTest<String> {
public class IndexedCollectionTest extends AbstractDecoratedCollectionTest<String> {
private IndexedCollection<Integer, String> indexed;
@Before