| |
|
| java.lang.Object org.cougaar.tools.csmart.core.property.name.SimpleName
SimpleName | public class SimpleName implements CompositeName(Code) | | An implementation of CompositeName have exactly one element that is
a String.
|
serialVersionUID | final static long serialVersionUID(Code) | | |
compareTo | public int compareTo(Object o)(Code) | | Compare to another CompositeName. The difference is the
difference of our name and the first element of the test name
unless they are equal. If the test name is longer it is then
greater.
|
decache | public void decache()(Code) | | |
endsWith | public boolean endsWith(CompositeName o)(Code) | | Test if this name ends with the given name
Parameters: o - the name to compare to true if the final elements of this name are equal tothe elements of the given name |
equals | public boolean equals(Object o)(Code) | | Test two names for equality. Names may be of different classes
as long as they are equivalent
Parameters: o - Object to be compared with. Must be a CompositeName. |
get | public CompositeName get(int n)(Code) | | Get the n-th element of the name
Parameters: n - the element index the Name of the selected element |
getSimpleName | public static SimpleName getSimpleName(String name)(Code) | | Get a new SimpleName from an interned list by name
|
hashCode | public int hashCode()(Code) | | |
size | public int size()(Code) | | Get the number of elements of the name.
always 1 |
startsWith | public boolean startsWith(CompositeName o)(Code) | | Test if this name starts with the given name
Parameters: o - the name to compare to true if the initial elements of this name are equal tothe elements of the given name |
|
|
|