public class GenericCollectionsTestCase extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericCollectionsTestCase.Employee |
static class |
GenericCollectionsTestCase.Person |
static class |
GenericCollectionsTestCase.TaskLayer1<P extends GenericCollectionsTestCase.Person> |
static class |
GenericCollectionsTestCase.TaskLayer2<P extends GenericCollectionsTestCase.Person> |
| Constructor and Description |
|---|
GenericCollectionsTestCase() |
| Modifier and Type | Method and Description |
|---|---|
void |
testParameterizedCollection_genericTypes()
This test attempts the same mapping using the newer type-based methods
which allow passing in the exact runtime types.
|
void |
testParameterizedCollection_rawTypes()
This test uses the older Class-based mapping method, which is unable
to determine the proper type hierarchy from the raw types
|
public void testParameterizedCollection_rawTypes()
public void testParameterizedCollection_genericTypes()
Copyright © 2017 Glasnost. All Rights Reserved.