|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for NameSpaceResolvers. This class will contain methods that all interfaces need to implement. There are four classes that need to be wrapped in a name space; these classes are: EdifLibrary, EdifCell, EdifNet, and EdifCellInstance.
Memory Consumption Tests on Name Space (in bytes): Note: The first # is memory usage at program termination, GC is memory that was garbage collected, and the total memory consumption is memory consumption at termination plus the memory that was garbage collected.
Time for HashMap on EdifNets fpga_a.edf: 113 s
Time for HashSet on EdifNets fpga_a.edf: 156 s
Time for ArrayList on fpga_a.edf: 150 s
Time for HashMap on EdifNets and EdifCellInstances on fpga_a.edf: 35 s!
| Method Summary | |
boolean |
nameClash(java.lang.String newName)
Returns true if name does not clash with name space. |
java.lang.String |
returnUniqueName(java.lang.String name)
If the name is valid, return name. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Method Detail |
public boolean nameClash(java.lang.String newName)
newName - Name to check if it already exists in the name space.
public java.lang.String returnUniqueName(java.lang.String name)
name - Name to modify, and make unique for this name space.
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||