|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.util.collect.CollectionUtil
public class CollectionUtil
| Constructor Summary | |
|---|---|
CollectionUtil()
Deprecated. |
|
| Method Summary | ||
|---|---|---|
static
|
filter(java.lang.Iterable<T> iterable,
Predicate<T> predicate)
Deprecated. since 2.12.3. Use Iterables.filter(java.lang.Iterable, com.google.common.base.Predicate) instead. |
|
static
|
filter(java.util.Iterator<T> iterator,
Predicate<T> predicate)
Deprecated. since 2.12.3. Use Iterators.filter(java.util.Iterator, com.google.common.base.Predicate) instead. |
|
static
|
foreach(java.lang.Iterable<T> iterable,
Consumer<T> sink)
Deprecated. |
|
static
|
foreach(java.util.Iterator<T> iterator,
Consumer<T> sink)
Deprecated. |
|
static
|
sort(java.util.Collection<T> collection,
java.util.Comparator<T> comparator)
Deprecated. |
|
static
|
toList(java.lang.Iterable<T> iterable)
Deprecated. since 2.12.3. Use ImmutableList.copyOf(Iterable) instead. |
|
static
|
toList(java.util.Iterator<T> iterator)
Deprecated. since 2.12.3. Use ImmutableList.copyOf(Iterator) instead. |
|
static
|
transform(java.lang.Iterable<T> iterable,
Function<T,R> transformer)
Deprecated. since 2.12.3. Use Iterables.transform(Iterable, com.google.common.base.Function) instead. |
|
static
|
transform(java.util.Iterator<T> iterator,
Function<T,R> transformer)
Deprecated. since 2.12.3. Use Lists.transform(java.util.List, com.google.common.base.Function) instead. |
|
static
|
transformIterator(java.util.Iterator<T> iterator,
Function<T,R> transformer)
Deprecated. since 2.12.3. Use Iterators.transform(java.util.Iterator, com.google.common.base.Function) instead. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionUtil()
| Method Detail |
|---|
public static <T> void foreach(java.util.Iterator<T> iterator,
Consumer<T> sink)
public static <T> void foreach(java.lang.Iterable<T> iterable,
Consumer<T> sink)
@Deprecated public static <T> java.util.List<T> toList(java.lang.Iterable<T> iterable)
ImmutableList.copyOf(Iterable) instead.
@Deprecated public static <T> java.util.List<T> toList(java.util.Iterator<T> iterator)
ImmutableList.copyOf(Iterator) instead.
@Deprecated
public static <T,R> java.util.List<R> transform(java.util.Iterator<T> iterator,
Function<T,R> transformer)
Lists.transform(java.util.List, com.google.common.base.Function) instead.
@Deprecated
public static <T,R> java.util.List<R> transform(java.lang.Iterable<T> iterable,
Function<T,R> transformer)
Iterables.transform(Iterable, com.google.common.base.Function) instead.
@Deprecated
public static <T,R> java.util.Iterator<R> transformIterator(java.util.Iterator<T> iterator,
Function<T,R> transformer)
Iterators.transform(java.util.Iterator, com.google.common.base.Function) instead.
@Deprecated
public static <T> java.util.Iterator<T> filter(java.util.Iterator<T> iterator,
Predicate<T> predicate)
Iterators.filter(java.util.Iterator, com.google.common.base.Predicate) instead.
Iterator.
public static <T> java.lang.Iterable<T> filter(java.lang.Iterable<T> iterable,
Predicate<T> predicate)
Iterables.filter(java.lang.Iterable, com.google.common.base.Predicate) instead.
Iterator.
public static <T> java.util.List<T> sort(java.util.Collection<T> collection,
java.util.Comparator<T> comparator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||