|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectTypeToObjectMap
public class TypeToObjectMap extends Object
Maintains a map from types to objects of that type. The objects stored are intended to be objects resulting from arbitrary execution of code under test in Randoop. This class ensures that no code of the objects stored is called, other than the final native method getClass().
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeToObjectMap.HotPotato
|
| Modifier and Type | Field and Description |
|---|---|
Map<Class<?>,List<TypeToObjectMap.HotPotato>> |
theMap
|
| Constructor and Description |
|---|
TypeToObjectMap()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addObject(Object runtimeObject)
Requires: runtimeObject is not null. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Map<Class<?>,List<TypeToObjectMap.HotPotato>> theMap
| Constructor Detail |
|---|
public TypeToObjectMap()
| Method Detail |
|---|
public void addObject(Object runtimeObject)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||