JBoss Remoting 3.1.0.Beta1

Uses of Interface
org.jboss.remoting3.stream.ObjectSource

Packages that use ObjectSource
org.jboss.remoting3.stream Stream-related API classes. 
 

Uses of ObjectSource in org.jboss.remoting3.stream
 

Methods in org.jboss.remoting3.stream that return ObjectSource
static
<T> ObjectSource<T>
Streams.getCollectionObjectSource(Collection<T> collection)
          Get an object source which reads from a collection.
static
<T> ObjectSource<T>
Streams.getEnumerationObjectSource(Enumeration<T> enumeration)
          Get an object source that reads from an enumeration.
static
<T> ObjectSource<T>
Streams.getIteratorObjectSource(Iterator<T> iterator)
          Get an object source that reads from an iterator.
static
<K,V> ObjectSource<org.jboss.marshalling.Pair<K,V>>
Streams.getMapEntryIteratorObjectSource(Iterator<Map.Entry<K,V>> iterator)
          Get an object source that reads from an iterator over map entries.
static
<K,V> ObjectSource<org.jboss.marshalling.Pair<K,V>>
Streams.getMapObjectSource(Map<K,V> map)
          Get an object source that reads from a map.
 ObjectSource<T> ObjectPipe.getSource()
          Get the source end of the pipe, from which objects may be read.
 

Methods in org.jboss.remoting3.stream with parameters of type ObjectSource
static
<C extends Collection<T>,T>
C
Streams.getCollection(C newCollection, ObjectSource<T> objectSource)
          Populate a new collection from an object source.
static
<C extends Collection<T>,T>
org.jboss.xnio.IoFuture<? extends C>
Streams.getFutureCollection(Executor executor, C newCollection, ObjectSource<T> objectSource)
          Populate a new collection from an object source asynchronously.
static
<M extends Map<K,V>,K,V>
org.jboss.xnio.IoFuture<? extends M>
Streams.getFutureMap(Executor executor, M newMap, ObjectSource<org.jboss.marshalling.Pair<K,V>> objectSource)
          Populate a new map from an object source asynchronously.
static
<M extends Map<K,V>,K,V>
M
Streams.getMap(M newMap, ObjectSource<org.jboss.marshalling.Pair<K,V>> objectSource)
          Populate a new map from an object source.
 


JBoss Remoting 3.1.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.