mandala.jacob.remote.rmi
Class RMICollection
java.lang.Object
  
mandala.jacob.remote.AbstractRemote
      
mandala.jacob.remote.AbstractLocalReferenceRetriever
          
mandala.jacob.remote.rmi.RMISingletonRemoteProxy
              
mandala.jacob.remote.rmi.RMICollection
- All Implemented Interfaces: 
 - java.util.Collection, LocalReferenceRetriever, java.rmi.Remote, Remote, RemoteCollection, java.io.Serializable
 
- Direct Known Subclasses: 
 - RMISet
 
- public class RMICollection
- extends mandala.jacob.remote.rmi.RMISingletonRemoteProxy
- implements RemoteCollection
   
Java-RMI Collection implementation.
- Version:
 
  - $Revision: 1.5 $
 
- Author:
 
  - eipi
 
- See Also:
 AbstractRemote, 
RemoteCollection, 
ExceptionHandler, 
Serialized Form
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
| Methods inherited from interface java.util.Collection | 
equals, hashCode | 
 
 
 
rmiCollection
protected transient mandala.jacob.remote.rmi.RMICollectionOp rmiCollection
singletonGiver
protected static final SingletonGiver singletonGiver
newServer
public static RMICollection newServer(java.util.Collection collection)
                               throws java.rmi.RemoteException
 
- Throws:
 java.rmi.RemoteException
 
newServer
public static RMICollection newServer(java.util.Collection collection,
                                      int port)
                               throws java.rmi.RemoteException
 
- Throws:
 java.rmi.RemoteException
 
clear
public void clear()
- Specified by:
 clear in interface java.util.Collection
 
 
contains
public boolean contains(java.lang.Object object)
- Specified by:
 contains in interface java.util.Collection
 
 
containsAll
public boolean containsAll(java.util.Collection collection)
- Specified by:
 containsAll in interface java.util.Collection
 
 
containsAll
public boolean containsAll(RemoteCollection collection)
- Specified by:
 containsAll in interface RemoteCollection
 
 
iterator
public java.util.Iterator iterator()
- Specified by:
 iterator in interface java.util.Collection
 
 
add
public boolean add(java.lang.Object object)
- Specified by:
 add in interface java.util.Collection
 
 
addAll
public boolean addAll(java.util.Collection collection)
- Specified by:
 addAll in interface java.util.Collection
 
 
addAll
public boolean addAll(RemoteCollection collection)
- Specified by:
 addAll in interface RemoteCollection
 
 
remove
public boolean remove(java.lang.Object object)
- Specified by:
 remove in interface java.util.Collection
 
 
removeAll
public boolean removeAll(java.util.Collection collection)
- Specified by:
 removeAll in interface java.util.Collection
 
 
removeAll
public boolean removeAll(RemoteCollection collection)
- Specified by:
 removeAll in interface RemoteCollection
 
 
retainAll
public boolean retainAll(java.util.Collection collection)
- Specified by:
 retainAll in interface java.util.Collection
 
 
retainAll
public boolean retainAll(RemoteCollection collection)
- Specified by:
 retainAll in interface RemoteCollection
 
 
toArray
public java.lang.Object[] toArray()
- Specified by:
 toArray in interface java.util.Collection
 
 
toArray
public java.lang.Object[] toArray(java.lang.Object[] objects)
- Specified by:
 toArray in interface java.util.Collection
 
 
size
public int size()
- Specified by:
 size in interface java.util.Collection
 
 
isEmpty
public boolean isEmpty()
- Specified by:
 isEmpty in interface java.util.Collection
 
 
toString
public java.lang.String toString()
 
 
readResolve
protected java.lang.Object readResolve()
                                throws java.io.ObjectStreamException
Ensure singleton for any subclasses.
       If subclasses overwrite this method, they must ensure the
       singleton property themselves.
 
- Returns:
 - an 
Object value
 - Throws:
 java.io.ObjectStreamException - if an error occurs
 
Mandala help mailing list