cz.geek.util
Class ListUtils

java.lang.Object
  extended by cz.geek.util.ListUtils

public abstract class ListUtils
extends Object


Constructor Summary
ListUtils()
           
 
Method Summary
static void delete(List<?> list, Integer[] indexes)
          Delete items from given list at given indexes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListUtils

public ListUtils()
Method Detail

delete

public static void delete(List<?> list,
                          Integer[] indexes)
                   throws IndexOutOfBoundsException,
                          UnsupportedOperationException
Delete items from given list at given indexes

Parameters:
list - list
indexes - indexes to remove (may be null)
Throws:
UnsupportedOperationException - if the remove method is not supported by this list.
IndexOutOfBoundsException - if one of indexes is out of range < 0 || index >= size()).


Copyright © 2012. All Rights Reserved.