public final class TransactionalServiceUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static <E> Iterator<E> | copyToExternallyUsuableIterator(Iterator<E> iter)Copys iterators so that they may be used outside of this class. | 
| static void | exhaustIterator(Iterator<?> iterator)Exhausts (i.e. | 
| static <E> E | retrieveFirstAndExhaustIterator(Iterator<E> iterator)Returns the first element and exhausts an iterator | 
public static <E> Iterator<E> copyToExternallyUsuableIterator(Iterator<E> iter)
iter - an OJB backed iterator to copypublic static <E> E retrieveFirstAndExhaustIterator(Iterator<E> iterator)
E - the type of elements in the iteratoriterator - the iterator to exhaustpublic static void exhaustIterator(Iterator<?> iterator)
iterator - Copyright © 2005–2016 The Kuali Foundation. All rights reserved.