|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jga.util.CollectionUtils
public class CollectionUtils
General utilites for working with collections. These are generally extensions to what's already defined in the standard java.util.Collection class
Copyright © 2006 David A. Hall
| Constructor Summary | |
|---|---|
CollectionUtils()
|
|
| Method Summary | ||
|---|---|---|
static
|
addAll(java.util.Collection<? super T> cout,
java.util.Iterator<T> iter)
Adds all of the elements of the iterator to the collection. |
|
static
|
addAll(java.util.Collection<? super T> cout,
T... values)
Adds all of the arguments to the collection. |
|
static
|
append(TCollection cout,
java.lang.Iterable<T> iterable)
Adds all of the elements of the iterable resource to the collection and returns the collection. |
|
static
|
append(TCollection cout,
java.util.Iterator<T> iter)
Adds all of the elements of the iterator to the collection and returns the collection. |
|
static
|
append(TCollection cout,
T... values)
Adds all of the arguments to the collection and returns the collection. |
|
| 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> boolean addAll(java.util.Collection<? super T> cout,
java.util.Iterator<T> iter)
public static <T> boolean addAll(java.util.Collection<? super T> cout,
T... values)
public static <T,TCollection extends java.util.Collection<? super T>> TCollection append(TCollection cout,
java.lang.Iterable<T> iterable)
public static <T,TCollection extends java.util.Collection<? super T>> TCollection append(TCollection cout,
java.util.Iterator<T> iter)
public static <T,TCollection extends java.util.Collection<? super T>> TCollection append(TCollection cout,
T... values)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||