net.sf.cglib.core
Class CollectionUtils

java.lang.Object
  extended by net.sf.cglib.core.CollectionUtils

public class CollectionUtils
extends Object

Version:
$Id: CollectionUtils.java,v 1.7 2004/06/24 21:15:21 herbyderby Exp $
Author:
Chris Nokleberg

Method Summary
static Map bucket(Collection c, Transformer t)
           
static Collection filter(Collection c, Predicate p)
           
static Map getIndexMap(List list)
           
static void reverse(Map source, Map target)
           
static List transform(Collection 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 Map bucket(Collection c,
                         Transformer t)

reverse

public static void reverse(Map source,
                           Map target)

filter

public static Collection filter(Collection c,
                                Predicate p)

transform

public static List transform(Collection c,
                             Transformer t)

getIndexMap

public static Map getIndexMap(List list)


Copyright © 2012 Oracle Corporation. All Rights Reserved.