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

Method Index

 o contains(Nameable)
This method returns true if the collection contains a specific element
 o containsKey(Object)
This method returns true if the collection contains an element with this key
 o elements()
This method returns an enumeration with all the elements in the collection
 o get(Object)
This method returns a specific Nameable object given a key
 o keys()
This method returns an enumeration with all the keys in the collection
 o put(Object, Nameable)
This method puts a new element into the collection
 o remove(Object)
This method removes an element from the collection

Methods

 o elements
 public abstract Enumeration elements() throws RemoteException
This method returns an enumeration with all the elements in the collection

 o keys
 public abstract Enumeration keys() throws RemoteException
This method returns an enumeration with all the keys in the collection

 o contains
 public abstract boolean contains(Nameable element) throws RemoteException
This method returns true if the collection contains a specific element

 o containsKey
 public abstract boolean containsKey(Object key) throws RemoteException
This method returns true if the collection contains an element with this key

 o get
 public abstract Nameable get(Object key) throws RemoteException
This method returns a specific Nameable object given a key

 o put
 public abstract void put(Object key,
                          Nameable target) throws RemoteException
This method puts a new element into the collection

 o 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