net.sf.doolin.util
Class ChainedItemConverter<S,T,U>
java.lang.Object
net.sf.doolin.util.ChainedItemConverter<S,T,U>
- Type Parameters:
S - Source typeT - Intermediary typeU - Target type
- All Implemented Interfaces:
- ItemConverter<S,U>
Deprecated. Use
Functions.compose(com.google.common.base.Function, com.google.common.base.Function)
instead.
@Deprecated
public class ChainedItemConverter<S,T,U>
- extends Object
- implements ItemConverter<S,U>
Chain of two ItemConverters.
- Author:
- Damien Coraboeuf
|
Method Summary |
U |
convert(S source)
Deprecated. Convert a source to a target |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChainedItemConverter
public ChainedItemConverter(ItemConverter<S,T> firstItemConverter,
ItemConverter<T,U> secondItemConverter)
- Deprecated.
- Constructor.
- Parameters:
firstItemConverter - Conversion from S to TsecondItemConverter - Conversion from T to U
convert
public U convert(S source)
- Deprecated.
- Description copied from interface:
ItemConverter
- Convert a source to a target
- Specified by:
convert in interface ItemConverter<S,U>
- Parameters:
source - Source object
- Returns:
- Target object
Copyright © 2011. All Rights Reserved.