Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant.util
Class CollectionUtils

    java.lang.Object
      |
      +--org.apache.tools.ant.util.CollectionUtils

public class CollectionUtils
extends java.lang.Object

A set of helper methods related to collection manipulation.

Since:
  Ant 1.5

Nested Class Summary
`static class` | `CollectionUtils.EmptyEnumeration`

Constructor Summary
`CollectionUtils()`

Method Summary
`static java.util.Enumeration` | `append(java.util.Enumeration e1, java.util.Enumeration e2)` Append one enumeration to another.
`static boolean` | `equals(java.util.Dictionary d1, java.util.Dictionary d2)` Deprecated.
`static boolean` | `equals(java.util.Vector v1, java.util.Vector v2)` Deprecated.
`static void` | `putAll(java.util.Dictionary m1, java.util.Dictionary m2)` Deprecated.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CollectionUtils

    public CollectionUtils()

Method Detail

### equals

    public static boolean equals(java.util.Vector v1,
                                 java.util.Vector v2)

  Deprecated.

  Please use Vector.equals() or List.equals()

  Since:
    Ant 1.5

### equals

    public static boolean equals(java.util.Dictionary d1,
                                 java.util.Dictionary d2)

  Deprecated.

  Dictionary does not have an equals. Please use Map.equals()

  Follows the equals contract of Java 2's Map.

  Since:
    Ant 1.5

### putAll

    public static void putAll(java.util.Dictionary m1,
                              java.util.Dictionary m2)

  Deprecated.

  Dictionary does not know the putAll method. Please use Map.putAll().

  Since:
    Ant 1.6

### append

    public static java.util.Enumeration append(java.util.Enumeration e1,
                                               java.util.Enumeration e2)

  Append one enumeration to another. Elements are evaluated lazily.

  Parameters:
    `e1` - the first enumeration
    `e2` - the subsequent enumeration
  Returns:
    an enumeration representing e1 followed by e2
  Since:
    Ant 1.6.3

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.