Package org.apache.juneau.swaps
Class IteratorSwap
Transforms 
Iterators to List<Object> objects.
 
 This is a one-way transform, since Iterators cannot be reconstituted.
 
See Also:
- 
Field SummaryFields inherited from class org.apache.juneau.swap.ObjectSwapNULL
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.juneau.swap.ObjectSwapforMediaTypes, forMediaTypes, getNormalClass, getSwapClass, getSwapClassMeta, isNormalObject, isSwappedObject, match, swap, toString, unswap, unswap, withTemplate, withTemplate
- 
Constructor Details- 
IteratorSwappublic IteratorSwap()
 
- 
- 
Method Details- 
swap- Overrides:
- swapin class- ObjectSwap<Iterator,- List> 
- Parameters:
- session- The bean session to use to get the class meta. This is always going to be the same bean context that created this swap.
- o- The object to be transformed.
- Returns:
- The transformed object.
 
 
-