|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbyucc.edif.AbstractEdifNameSpace
byucc.edif.EdifNameSpaceMap
public class EdifNameSpaceMap
| Field Summary | |
|---|---|
(package private) java.util.HashMap |
_map
|
| Constructor Summary | |
|---|---|
EdifNameSpaceMap()
|
|
EdifNameSpaceMap(int size)
|
|
| Method Summary | |
|---|---|
protected void |
addImplementation(Nameable n)
|
boolean |
contains(Nameable n)
Indicates whether the given NamedPropertyObject is a member of the name space. |
Nameable |
get(java.lang.String str)
Returns the Nameable object associated with this name space that matches the given String name. |
java.util.Iterator |
iterator()
Returns an Iterator for all Nameable objects in the name space |
void |
remove(Nameable n)
Remove the given Nameable object from the name space. |
int |
size()
Indicates the number of members of the name space |
void |
trimToSize()
This method is used to trim the size of all "trimable" data structures within the Object. |
| Methods inherited from class byucc.edif.AbstractEdifNameSpace |
|---|
add, addUniqueName, nameClash, nameClash, returnUniqueName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface byucc.edif.EdifNameSpace |
|---|
add, addUniqueName, nameClash, nameClash |
| Field Detail |
|---|
java.util.HashMap _map
| Constructor Detail |
|---|
public EdifNameSpaceMap()
public EdifNameSpaceMap(int size)
| Method Detail |
|---|
public java.util.Iterator iterator()
EdifNameSpace
iterator in interface EdifNameSpacepublic Nameable get(java.lang.String str)
EdifNameSpace
get in interface EdifNameSpaceprotected void addImplementation(Nameable n)
addImplementation in class AbstractEdifNameSpacepublic boolean contains(Nameable n)
EdifNameSpace
contains in interface EdifNameSpacen - The NamedPropertyObject to search for in the name
space.
public int size()
EdifNameSpace
size in interface EdifNameSpacepublic void remove(Nameable n)
EdifNameSpace
remove in interface EdifNameSpacepublic void trimToSize()
Trimable
trimToSize in interface Trimable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||