com.generationjava.collections
Class CollectionsW
java.lang.Object
com.generationjava.collections.CollectionsW
- public final class CollectionsW
- extends Object
A wrapper around the Collections. Provides functionality above and
beyond the duty of java.util's Collection API.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionsW
public CollectionsW()
slice
public static Collection slice(Collection coll,
int start,
int end)
cloneNewEmptyCollection
public static Collection cloneNewEmptyCollection(Collection coll)
cloneNewEmptyMap
public static Map cloneNewEmptyMap(Map map)
getSubArray
public static String[] getSubArray(String[] ob,
int idx)
simpleSearch
public static int simpleSearch(List list,
Object obj)
simpleSearch
public static int simpleSearch(List list,
Object obj,
Comparator cmp)
Copyright © 2000-2005 OSJava. All Rights Reserved.