hoplugins.commons.utils
Class ListUtil

java.lang.Object
  extended byhoplugins.commons.utils.ListUtil

public final class ListUtil
extends java.lang.Object

List Utility class

Author:
Massimiliano Amato

Method Summary
static java.util.SortedSet getSortedSet(java.util.Collection beans, java.util.Comparator comparator)
          Sort the collection and returns a SortedSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSortedSet

public static java.util.SortedSet getSortedSet(java.util.Collection beans,
                                               java.util.Comparator comparator)
Sort the collection and returns a SortedSet

Parameters:
beans - Collection to be sorted
comparator - Comparator to be used
Returns:
a sorted set


Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.