|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.util.CollectionUtils
public class CollectionUtils
A set of helper methods related to collection manipulation.
| Nested Class Summary | |
|---|---|
static class |
CollectionUtils.EmptyEnumeration
An empty enumeration. |
| Constructor Summary | |
|---|---|
CollectionUtils()
|
|
| Method Summary | |
|---|---|
static java.util.Enumeration |
append(java.util.Enumeration e1,
java.util.Enumeration e2)
Append one enumeration to another. |
static java.util.Enumeration |
asEnumeration(java.util.Iterator iter)
Adapt the specified Iterator to the Enumeration interface. |
static java.util.Iterator |
asIterator(java.util.Enumeration e)
Adapt the specified Enumeration to the Iterator interface. |
static boolean |
equals(java.util.Dictionary d1,
java.util.Dictionary d2)
Deprecated. since 1.6.x. |
static boolean |
equals(java.util.Vector v1,
java.util.Vector v2)
Deprecated. since 1.6.x. |
static void |
putAll(java.util.Dictionary m1,
java.util.Dictionary m2)
Deprecated. since 1.6.x. |
| 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 boolean equals(java.util.Vector v1,
java.util.Vector v2)
v1 - the first vector.v2 - the second vector.
public static boolean equals(java.util.Dictionary d1,
java.util.Dictionary d2)
Follows the equals contract of Java 2's Map.
d1 - the first directory.d2 - the second directory.
public static void putAll(java.util.Dictionary m1,
java.util.Dictionary m2)
m1 - the to directory.m2 - the from directory.
public static java.util.Enumeration append(java.util.Enumeration e1,
java.util.Enumeration e2)
e1 - the first enumeration.e2 - the subsequent enumeration.
public static java.util.Enumeration asEnumeration(java.util.Iterator iter)
iter - the Iterator to adapt.
public static java.util.Iterator asIterator(java.util.Enumeration e)
e - the Enumeration to adapt.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||