|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectPptMap
public class PptMap
Maps from a program point name (a String) to a PptTopLevel.
This is the major data structure of Daikon. All the invariants can be found in it, and an .inv file contains (only) the serialized form of this object.
| Constructor Summary | |
|---|---|
PptMap()
|
|
| Method Summary | |
|---|---|
void |
add(PptTopLevel ppt)
|
void |
addAll(List<PptTopLevel> ppts)
|
Collection<PptTopLevel> |
all_ppts()
Returns all of the program points in the map |
Collection<PptTopLevel> |
asCollection()
|
boolean |
containsName(String name)
Returns whether or not 'name' is in the map. |
int |
countSlices()
Return the number of active PptSlices. |
PptTopLevel |
get(PptName name)
Get the pptname 'name' from the map. |
PptTopLevel |
get(String name)
Get the pptname named 'name' from the map. |
Collection<String> |
nameStringSet()
|
Iterator<PptTopLevel> |
ppt_all_iterator()
|
Iterator<PptTopLevel> |
pptIterator()
|
void |
removeUnsampled()
Blow away any PptTopLevels that never saw any samples (to reclaim space). |
void |
repCheck()
Check the rep invariant of this. |
int |
size()
|
String |
toString()
|
void |
trimToSize()
Iterate over the PptTopLevels and trim them. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PptMap()
| Method Detail |
|---|
public void add(PptTopLevel ppt)
public void addAll(List<PptTopLevel> ppts)
public PptTopLevel get(String name)
public PptTopLevel get(PptName name)
public boolean containsName(String name)
public Collection<PptTopLevel> all_ppts()
public Collection<PptTopLevel> asCollection()
pptIterator()public Collection<String> nameStringSet()
public Iterator<PptTopLevel> pptIterator()
public Iterator<PptTopLevel> ppt_all_iterator()
public void trimToSize()
public void repCheck()
public int countSlices()
public int size()
public String toString()
toString in class Objectpublic void removeUnsampled()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||