Top Constructors Methods
org.springframework.cglib.core

public Class CollectionUtils

extends Object
Class Inheritance
Annotations
@SuppressWarnings:rawtypes, unchecked
Imports
java.util.ArrayList, .Collection, .HashMap, .Iterator, .LinkedList, .List, .Map

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Map<K, V>
public static Collection<E>
public static Map<K, V>
getIndexMap(List<E> list)

public static void
reverse(Map<K, V> source, Map<K, V> target)

public static List<E>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CollectionUtilsback to summary
private CollectionUtils()

Method Detail

bucketback to summary
public static Map<K, V> bucket(Collection<E> c, Transformer t)
filterback to summary
public static Collection<E> filter(Collection<E> c, Predicate p)
getIndexMapback to summary
public static Map<K, V> getIndexMap(List<E> list)
reverseback to summary
public static void reverse(Map<K, V> source, Map<K, V> target)
transformback to summary
public static List<E> transform(Collection<E> c, Transformer t)