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:
parent
c39fd281b7
commit
2f87b3c187
|
@ -14,12 +14,12 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.apache.commons.collections;
|
package org.apache.commons.collections.collection;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.HashMap;
|
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
|
* An IndexedCollection is a Map-like view onto a Collection. It accepts a
|
|
@ -14,17 +14,20 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.apache.commons.collections;
|
package org.apache.commons.collections.collection;
|
||||||
|
|
||||||
import static java.util.Arrays.asList;
|
import static java.util.Arrays.asList;
|
||||||
import static junit.framework.Assert.assertEquals;
|
import static junit.framework.Assert.assertEquals;
|
||||||
import static junit.framework.Assert.assertNull;
|
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.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
@SuppressWarnings("boxing")
|
@SuppressWarnings("boxing")
|
||||||
public class TestIndexedCollection extends AbstractDecoratedCollectionTest<String> {
|
public class IndexedCollectionTest extends AbstractDecoratedCollectionTest<String> {
|
||||||
private IndexedCollection<Integer, String> indexed;
|
private IndexedCollection<Integer, String> indexed;
|
||||||
|
|
||||||
@Before
|
@Before
|
Loading…
Reference in New Issue