public class IteratorSwap extends PojoSwap<Iterator,List>
Iterators
to List<Object>
objects.
This is a one-way transform, since Iterators
cannot be reconstituted.
Constructor and Description |
---|
IteratorSwap() |
Modifier and Type | Method and Description |
---|---|
List |
swap(BeanSession session,
Iterator o)
|
forMediaTypes, forMediaTypes, getNormalClass, getSwapClass, getSwapClassMeta, isNormalObject, isSwappedObject, match, swap, toString, unswap, unswap, withTemplate, withTemplate
public IteratorSwap()
public List swap(BeanSession session, Iterator o)
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.