net.sf.asyncobjects.util.callbacks
Interface AMapper<I,O>

Type Parameters:
I - input type
O - output type
All Superinterfaces:
AsyncObject
All Known Implementing Classes:
MapperAdapter.InternalMapperAdapter

public interface AMapper<I,O>
extends AsyncObject

Interface for object that asynchronously maps one value to another

Author:
const

Method Summary
 Promise<O> map(I value)
          Map a value
 
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate
 

Method Detail

map

Promise<O> map(I value)
Map a value

Parameters:
value - a value to map
Returns:
a promise for mapped value


Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.