mandala.jacob.remote.rmi
Class RMISetImpl

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended bymandala.jacob.remote.rmi.RMICollectionImpl
                  extended bymandala.jacob.remote.rmi.RMISetImpl
All Implemented Interfaces:
java.rmi.Remote, mandala.jacob.remote.rmi.RMICollectionOp, mandala.jacob.remote.rmi.RMISetOp, java.io.Serializable

public class RMISetImpl
extends RMICollectionImpl
implements mandala.jacob.remote.rmi.RMISetOp

Java-RMI implementation of the RMICollection interface.

Version:
$Revision: 1.1 $
Author:
eipi
See Also:
RMICollectionImpl, Serialized Form

Field Summary
 
Fields inherited from class mandala.jacob.remote.rmi.RMICollectionImpl
collection, lock, syslog
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RMISetImpl(java.util.Set set)
           
RMISetImpl(java.util.Set set, int port)
           
 
Method Summary
 boolean add(java.lang.Object object)
           
 boolean addAll(RemoteCollection collection)
           
 void clear()
           
 boolean contains(java.lang.Object object)
           
 boolean containsAll(RemoteCollection collection)
           
 boolean isEmpty()
           
 RemoteIterator iterator()
           
 boolean remove(java.lang.Object object)
           
 boolean removeAll(RemoteCollection collection)
           
 boolean retainAll(RemoteCollection collection)
           
 int size()
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] objects)
           
 java.lang.String toString()
           
 
Methods inherited from class mandala.jacob.remote.rmi.RMICollectionImpl
getSyslog
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMISetImpl

public RMISetImpl(java.util.Set set)
           throws java.rmi.RemoteException

RMISetImpl

public RMISetImpl(java.util.Set set,
                  int port)
           throws java.rmi.RemoteException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class RMICollectionImpl

clear

public void clear()
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

contains

public boolean contains(java.lang.Object object)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

containsAll

public boolean containsAll(RemoteCollection collection)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

iterator

public RemoteIterator iterator()
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

add

public boolean add(java.lang.Object object)
            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addAll

public boolean addAll(RemoteCollection collection)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

remove

public boolean remove(java.lang.Object object)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeAll

public boolean removeAll(RemoteCollection collection)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

retainAll

public boolean retainAll(RemoteCollection collection)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

toArray

public java.lang.Object[] toArray()
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

toArray

public java.lang.Object[] toArray(java.lang.Object[] objects)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

size

public int size()
         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isEmpty

public boolean isEmpty()
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException


Mandala help mailing list