net.sf.cglib.core
Class CollectionUtils

java.lang.Object
  extended bynet.sf.cglib.core.CollectionUtils

public class CollectionUtils
extends java.lang.Object

Version:
$Id: CollectionUtils.java,v 1.4 2003/10/03 23:09:29 herbyderby Exp $
Author:
Chris Nokleberg

Method Summary
static java.util.Map bucket(java.util.Collection c, Transformer t)
           
static java.util.Collection filter(java.util.Collection c, Predicate p)
           
static java.lang.Object[] filter(java.lang.Object[] a, Predicate p)
           
static void reverse(java.util.Map source, java.util.Map target)
           
static java.util.List transform(java.util.List c, Transformer t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bucket

public static java.util.Map bucket(java.util.Collection c,
                                   Transformer t)

reverse

public static void reverse(java.util.Map source,
                           java.util.Map target)

filter

public static java.lang.Object[] filter(java.lang.Object[] a,
                                        Predicate p)

filter

public static java.util.Collection filter(java.util.Collection c,
                                          Predicate p)

transform

public static java.util.List transform(java.util.List c,
                                       Transformer t)


Copyright © 2002-2003 cglib. All Rights Reserved.