java.lang.Object
com.sun.faces.util.CollectionsUtils
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T[]
ar()
static <T> T[]
ar
(T... ts) static <T> Iterator
<T> asIterator
(T[] items) static <T> Set
<T> asSet
(T... a) static <T,
V> CollectionsUtils.ConstMap <T, V> map()
static <T> Iterator
<T> unmodifiableIterator
(Enumeration<T> enumeration) static <T> Iterator
<T> unmodifiableIterator
(Iterator<T> iterator)
-
Method Details
-
asSet
-
ar
-
ar
public static <T> T[] ar() -
map
-
asIterator
- Returns:
- an unmodifiable Iterator over the passed typed array
-
asIterator
- Returns:
- an unmodifiable Iterator over the passed array of SelectItem
-
unmodifiableIterator
- Returns:
- an Iterator over the passed Enumeration with no remove support
-
unmodifiableIterator
-