mandala.jacob.remote
Interface RemoteCollection
- All Superinterfaces:
- Collection, LocalReferenceRetriever, Remote, Serializable
- All Known Subinterfaces:
- RemoteSet
- All Known Implementing Classes:
- RemoteCollectionProxy, RemoteSetProxy, RMICollection, RMISet
- public interface RemoteCollection
- extends Collection, LocalReferenceRetriever
Represents a remote collection.
Methods which takes Collection
in argument such as
addAll()
, wrapped them in a RemoteCollection
which
are proxies to the real collection and are not copies of them.
The method iterator()
returns in fact a
RemoteIterator
which is a proxy on the real iterator normally
returned.
This interface should be the only access to a remote collection for any
remote clients.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- eipi
- See Also:
Remote
,
ExceptionHandler
,
Collection
Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
containsAll
public boolean containsAll(RemoteCollection collection)
addAll
public boolean addAll(RemoteCollection collection)
removeAll
public boolean removeAll(RemoteCollection collection)
retainAll
public boolean retainAll(RemoteCollection collection)
Mandala help mailing list