|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.illinois.cs.cogcomp.lbj.coref.util.collections.MyCollections
public class MyCollections
Constructor Summary | |
---|---|
MyCollections()
|
Method Summary | ||
---|---|---|
static double |
average(java.util.List<java.lang.Double> list)
|
|
static
|
getWithoutDuplicates(java.util.List<T> sortedList)
removes duplicates from a _sorted_ list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyCollections()
Method Detail |
---|
public static <T> java.util.List<T> getWithoutDuplicates(java.util.List<T> sortedList)
sortedList
- a sorted listpublic static double average(java.util.List<java.lang.Double> list)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |