edu.washington.cs.knowitall.commonlib
Class ListUtils

java.lang.Object
  extended by edu.washington.cs.knowitall.commonlib.ListUtils

public class ListUtils
extends Object


Constructor Summary
ListUtils()
           
 
Method Summary
static
<E> void
removeNulls(ArrayList<E> list)
           
static
<E> E
swapRemove(ArrayList<E> list, int index)
           
 
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

removeNulls

public static <E> void removeNulls(ArrayList<E> list)

swapRemove

public static <E> E swapRemove(ArrayList<E> list,
                               int index)


Copyright © 2012 University of Washington CSE. All Rights Reserved.