Class CollectionHelper


  • @Deprecated
    public abstract class CollectionHelper
    extends Object
    Deprecated.
    As of Coherence 12.1.2
    This abstract class contains helper functions for manipulating collections and enumerations.
    Version:
    1.00, 04/25/00
    Author:
    Pat McNerthney
    • Constructor Detail

      • CollectionHelper

        public CollectionHelper()
        Deprecated.
    • Method Detail

      • convert

        public static Collection convert​(Collection colOriginal,
                                         Converter converter)
        Deprecated.
        Convert a collection from one set of objects to a new set of objects.
        Parameters:
        colOriginal - the original collection of objects
        converter - an object which will perform the conversion of elements of the collection
        Returns:
        the converted collection
      • convert

        public static Iterator convert​(Iterator iter,
                                       Converter converter)
        Deprecated.
        Convert an Iterator from one set of objects to a new set of objects.
        Parameters:
        iter - the original Iterator of objects
        converter - an object which will perform the conversion
        Returns:
        the converted Iterator
      • convert

        public static Enumeration convert​(Enumeration enmr,
                                          Converter converter)
        Deprecated.
        Convert an Enumeration from one set of objects to a new set of objects.
        Parameters:
        enmr - the original Enumeration of objects
        converter - an object which will perform the conversion
        Returns:
        the converted Enumeration