Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.util
Class CollectionHelper

    java.lang.Object
      com.tangosol.util.CollectionHelper

    public abstract class CollectionHelper

extends java.lang.Object

This abstract class contains helper functions for manipulating collections and enumerations.

Version:
  1.00, 04/25/00
Author:
  Pat McNerthney

Constructor Summary
`CollectionHelper()`

Method Summary
`static java.util.Collection` | `convert(java.util.Collection colOriginal, Converter converter)` Convert a collection from one set of objects to a new set of objects.
`static java.util.Enumeration` | `convert(java.util.Enumeration enmr, Converter converter)` Convert an Enumeration from one set of objects to a new set of objects.
`static java.util.Iterator` | `convert(java.util.Iterator iter, Converter converter)` Convert an Iterator from one set of objects to a new set of objects.

Constructor Detail

### CollectionHelper

    public CollectionHelper()

Method Detail

### convert

    public static java.util.Collection convert(java.util.Collection colOriginal,
                                               Converter converter)

  Convert a collection from one set of objects to a new set of objects.

  Parameters:
    `colOriginal` - the orignal collection of objects
    `converter` - an object which will perform the conversion of elements of the collection
  Returns:
    the converted collection

### convert

    public static java.util.Iterator convert(java.util.Iterator iter,
                                             Converter converter)

  Convert an Iterator from one set of objects to a new set of objects.

  Parameters:
    `iter` - the orignal Iterator of objects
    `converter` - an object which will perform the conversion
  Returns:
    the converted Iterator

### convert

    public static java.util.Enumeration convert(java.util.Enumeration enmr,
                                                Converter converter)

  Convert an Enumeration from one set of objects to a new set of objects.

  Parameters:
    `enmr` - the orignal Enumeration of objects
    `converter` - an object which will perform the conversion
  Returns:
    the converted Enumeration

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.