|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.jaxb2.maven2.util.CollectionUtils
public class CollectionUtils
| Nested Class Summary | |
|---|---|
static interface |
CollectionUtils.Function<T,V>
|
static class |
CollectionUtils.NegativeComparatorWithNullAsSmallest<V extends Object & Comparable<? super V>>
|
static class |
CollectionUtils.PositiveComparatorWithNullAsGreatest<V extends Object & Comparable<? super V>>
|
| Constructor Summary | |
|---|---|
CollectionUtils()
|
|
| Method Summary | ||
|---|---|---|
static
|
apply(Collection<T> collection,
CollectionUtils.Function<T,V> function)
|
|
static
|
bestValue(Collection<T> collection,
CollectionUtils.Function<T,V> function,
Comparator<V> comparator)
|
|
static
|
gtWithNullAsGreatest()
|
|
static
|
ltWithNullAsSmallest()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionUtils()
| Method Detail |
|---|
public static <T,V> List<V> apply(Collection<T> collection,
CollectionUtils.Function<T,V> function)
public static <T,V> V bestValue(Collection<T> collection,
CollectionUtils.Function<T,V> function,
Comparator<V> comparator)
public static <V extends Object & Comparable<? super V>> Comparator<V> ltWithNullAsSmallest()
public static <V extends Object & Comparable<? super V>> Comparator<V> gtWithNullAsGreatest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||