All Packages Class Hierarchy This Package Previous Next Index
Interface edu.cmu.owl.so.nameservice.NamedCollection
- public interface interface NamedCollection
This interface represents a collection of
- See Also:
- Nameable
-
contains(Nameable)
- This method returns true if the collection contains a specific element
-
containsKey(Object)
- This method returns true if the collection contains an element with this key
-
elements()
- This method returns an enumeration with all the elements in the collection
-
get(Object)
- This method returns a specific Nameable object given a key
-
keys()
- This method returns an enumeration with all the keys in the collection
-
put(Object, Nameable)
- This method puts a new element into the collection
-
remove(Object)
- This method removes an element from the collection
elements
public abstract Enumeration elements() throws RemoteException
- This method returns an enumeration with all the elements in the collection
keys
public abstract Enumeration keys() throws RemoteException
- This method returns an enumeration with all the keys in the collection
contains
public abstract boolean contains(Nameable element) throws RemoteException
- This method returns true if the collection contains a specific element
containsKey
public abstract boolean containsKey(Object key) throws RemoteException
- This method returns true if the collection contains an element with this key
get
public abstract Nameable get(Object key) throws RemoteException
- This method returns a specific Nameable object given a key
put
public abstract void put(Object key,
Nameable target) throws RemoteException
- This method puts a new element into the collection
remove
public abstract Nameable remove(Object key) throws RemoteException
- This method removes an element from the collection
All Packages Class Hierarchy This Package Previous Next Index