net.artima.place
Interface LinkMap

All Known Subinterfaces:
ModifiableLinkMap

public interface LinkMap
extends java.io.Serializable

Represents a map of links to resources on the network.


Method Summary
 boolean containsKey(java.lang.Object key)
          Returns true if this LinkMap contains a mapping for the specified key.
 boolean containsValue(Link value)
          Returns true if this LinkMap maps one or more keys to the specified value.
 Link get(java.lang.Object key)
          Returns the Link value to which this LinkMap maps the specified Object key.
 boolean isEmpty()
          Returns true if this map contains no key-value mappings.
 java.util.Set keySet()
          Returns an unmodifiable set view of the keys contained in this map.
 int size()
          Returns the number of key-value mappings in this map.
 java.util.Collection values()
          Returns a collection view of the values contained in this LinkMap.
 

Method Detail

get

public Link get(java.lang.Object key)
         throws java.rmi.RemoteException
Returns the Link value to which this LinkMap maps the specified Object key.

containsKey

public boolean containsKey(java.lang.Object key)
                    throws java.rmi.RemoteException
Returns true if this LinkMap contains a mapping for the specified key.

containsValue

public boolean containsValue(Link value)
                      throws java.rmi.RemoteException
Returns true if this LinkMap maps one or more keys to the specified value.

isEmpty

public boolean isEmpty()
                throws java.rmi.RemoteException
Returns true if this map contains no key-value mappings.

keySet

public java.util.Set keySet()
                     throws java.rmi.RemoteException
Returns an unmodifiable set view of the keys contained in this map.

size

public int size()
         throws java.rmi.RemoteException
Returns the number of key-value mappings in this map.

values

public java.util.Collection values()
                            throws java.rmi.RemoteException
Returns a collection view of the values contained in this LinkMap.