javamath.server.store
Interface Store
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- HashStore
- public interface Store
- extends java.rmi.Remote
Remote object with the functionality of a hash table. Allows
programs on other machines to store serialized objects on the
RMI server hosting this object.
|
Method Summary |
java.lang.Object |
get(java.lang.Object key)
Retrieve the object associated with the key key |
void |
put(java.lang.Object key,
java.lang.Object val)
Associate object val with the key key |
put
public void put(java.lang.Object key,
java.lang.Object val)
throws java.rmi.RemoteException
- Associate object val with the key key
get
public java.lang.Object get(java.lang.Object key)
throws java.rmi.RemoteException
- Retrieve the object associated with the key key