Class IteratorHack
java.lang.Object
org.jenkinsci.plugins.workflow.cps.persistence.IteratorHack
Makes Java iterators effectively serializable.
-
Method Summary
Modifier and TypeMethodDescriptionSerializable replacement forMap.entrySet()
.static <E> Iterator<E>
iterator
(E[] array) static <E> Iterator<E>
static <E> Iterator<E>
Serializable replacement forList.iterator()
.static <E> Iterator<E>
static <K> Set<K>
static <K> Set<K>
static <E> ListIterator<E>
listIterator
(List<E> list) static <E> ListIterator<E>
listIterator
(List<E> list, int idx) static <V> Collection<V>
static <V> Collection<V>
-
Method Details
-
iterator
Serializable replacement forList.iterator()
. -
iterator
-
iterator
-
iterator
-
listIterator
-
listIterator
-
entrySet
Serializable replacement forMap.entrySet()
. -
entrySet
-
keySet
-
keySet
-
values
-
values
-