net.sf.cglib.core

Class CollectionUtils


public class CollectionUtils
extends java.lang.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)

Method Details

bucket

public static Map bucket(Collection c,
                         Transformer t)

filter

public static Collection filter(Collection c,
                                Predicate p)

getIndexMap

public static Map getIndexMap(List list)

reverse

public static void reverse(Map source,
                           Map target)

transform

public static List transform(Collection c,
                             Transformer t)

Copyright (c) 2001 - Apache Software Foundation