public class FunctionUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionUtils.UnmodifiableCollection<T>
Wraps a collection.
|
static class |
FunctionUtils.UnmodifiableIterator<E>
Wraps an iterator.
|
static class |
FunctionUtils.UnmodifiableList<T>
Wraps a list.
|
static class |
FunctionUtils.UnmodifiableListIterator<T>
Wraps a list iterator.
|
static class |
FunctionUtils.UnmodifiableMap<K,V>
Wraps a map.
|
static class |
FunctionUtils.UnmodifiableSet<T>
Wraps a set.
|
static class |
FunctionUtils.UnmodifiableSortedIterator<E>
Wraps an ordered iterator.
|
static class |
FunctionUtils.UnmodifiableSortedMap<K,V>
Wraps a sorted map.
|
static class |
FunctionUtils.UnmodifiableSortedSet<T>
Wraps a sorted set.
|
| Modifier and Type | Field and Description |
|---|---|
static UnmodCollection<Object> |
EMPTY_UNMOD_COLLECTION
Deprecated.
|
static UnmodIterator<?> |
EMPTY_UNMOD_ITERATOR
Deprecated.
|
static UnmodList<?> |
EMPTY_UNMOD_LIST
Deprecated.
|
static UnmodListIterator<Object> |
EMPTY_UNMOD_LIST_ITERATOR
Deprecated.
|
static UnmodMap<Object,Object> |
EMPTY_UNMOD_MAP
Deprecated.
|
static UnmodSet<Object> |
EMPTY_UNMOD_SET
Deprecated.
|
static UnmodSortedIterator<Object> |
EMPTY_UNMOD_SORTED_ITERATOR
Deprecated.
|
static UnmodSet<Object> |
EMPTY_UNMOD_SORTED_SET
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> UnmodCollection<T> |
emptyUnmodCollection()
Returns an empty unmodifiable Collection.
|
static <T> FunctionUtils.UnmodifiableIterator<T> |
emptyUnmodIterator()
Returns an empty unmodifiable iterator.
|
static <T> UnmodList<T> |
emptyUnmodList()
Returns an empty unmodifiable list.
|
static <T> UnmodListIterator<T> |
emptyUnmodListIterator()
Returns an empty list iterator.
|
static <T,U> UnmodMap<T,U> |
emptyUnmodMap()
Returns an empty unmodifiable map.
|
static <T> UnmodSet<T> |
emptyUnmodSet()
Returns an empty unmodifiable set.
|
static <T> UnmodSortedIterator<T> |
emptyUnmodSortedIterator()
Only use this where Sorted items are called for.
|
static <T,U> UnmodSortedMap<T,U> |
emptyUnmodSortedMap()
Returns an empty unmodifiable sorted map.
|
static <T> UnmodSortedSet<T> |
emptyUnmodSortedSet()
Returns an empty unmodifiable sorted set.
|
static String |
ordinal(int origI) |
static String |
stringify(Object o) |
static <T> UnmodCollection<T> |
unmodCollection(Collection<T> coll)
Returns an unmodifiable version of the given collection.
|
static <T> UnmodIterator<T> |
unmodIterator(Iterator<T> iter)
Returns an unmodifiable version of the given iterator.
|
static <T> UnmodList<T> |
unmodList(List<T> inner)
Returns an unmodifiable version of the given list.
|
static <T> UnmodListIterator<T> |
unmodListIterator(ListIterator<T> iter)
Returns an unmodifiable version of the given listIterator.
|
static <K,V> UnmodMap<K,V> |
unmodMap(Map<K,V> map)
Returns an unmodifiable version of the given map.
|
static <T> UnmodSet<T> |
unmodSet(Set<T> set)
Returns an unmodifiable version of the given set.
|
static <T> UnmodSortedIterator<T> |
unmodSortedIterator(Iterator<T> iter)
Returns an unmodifiable version of the given ordered Iterator.
|
static <K,V> UnmodSortedMap<K,V> |
unmodSortedMap(SortedMap<K,V> map)
Returns an unmodifiable version of the given sorted map.
|
static <T> UnmodSortedSet<T> |
unmodSortedSet(SortedSet<T> set)
Returns an unmodifiable version of the given set.
|
@Deprecated public static final UnmodIterator<?> EMPTY_UNMOD_ITERATOR
emptyUnmodIterator() instead.@Deprecated public static final UnmodListIterator<Object> EMPTY_UNMOD_LIST_ITERATOR
emptyUnmodListIterator() instead.@Deprecated public static final UnmodList<?> EMPTY_UNMOD_LIST
emptyUnmodList() instead@Deprecated public static final UnmodSet<Object> EMPTY_UNMOD_SET
emptyUnmodSet() instead.@Deprecated public static final UnmodSortedIterator<Object> EMPTY_UNMOD_SORTED_ITERATOR
emptyUnmodSortedIterator() instead@Deprecated public static final UnmodSet<Object> EMPTY_UNMOD_SORTED_SET
emptyUnmodSortedSet() instead@Deprecated public static final UnmodMap<Object,Object> EMPTY_UNMOD_MAP
emptyUnmodMap() instead.@Deprecated public static final UnmodCollection<Object> EMPTY_UNMOD_COLLECTION
emptyUnmodCollection() insteadpublic static String ordinal(int origI)
public static <T> FunctionUtils.UnmodifiableIterator<T> emptyUnmodIterator()
public static <T> UnmodSortedIterator<T> emptyUnmodSortedIterator()
public static <T> UnmodListIterator<T> emptyUnmodListIterator()
public static <T> UnmodList<T> emptyUnmodList()
public static <T> UnmodSet<T> emptyUnmodSet()
public static <T> UnmodSortedSet<T> emptyUnmodSortedSet()
public static <T,U> UnmodMap<T,U> emptyUnmodMap()
public static <T,U> UnmodSortedMap<T,U> emptyUnmodSortedMap()
public static <T> UnmodCollection<T> emptyUnmodCollection()
public static <T> UnmodIterator<T> unmodIterator(Iterator<T> iter)
public static <T> UnmodSortedIterator<T> unmodSortedIterator(Iterator<T> iter)
public static <T> UnmodListIterator<T> unmodListIterator(ListIterator<T> iter)
public static <T> UnmodList<T> unmodList(List<T> inner)
public static <T> UnmodSet<T> unmodSet(Set<T> set)
public static <T> UnmodSortedSet<T> unmodSortedSet(SortedSet<T> set)
public static <K,V> UnmodMap<K,V> unmodMap(Map<K,V> map)
public static <K,V> UnmodSortedMap<K,V> unmodSortedMap(SortedMap<K,V> map)
public static <T> UnmodCollection<T> unmodCollection(Collection<T> coll)
Copyright © 2017. All rights reserved.