|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.illinois.cs.cogcomp.lbj.coref.ir.solutions.ListSolution<T>
public class ListSolution<T>
A solution containing a set of objects of some type T
Field Summary | |
---|---|
private java.util.List<T> |
m_items
|
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
ListSolution()
Constructs an empty ListSolution . |
|
ListSolution(java.util.Collection<T> items)
Constructs a solution containing items as a list. |
Method Summary | |
---|---|
java.util.List<T> |
getItems()
Gets the items. |
java.lang.String |
toString()
Get a string representation of the items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private java.util.List<T> m_items
Constructor Detail |
---|
public ListSolution()
ListSolution
.
public ListSolution(java.util.Collection<T> items)
items
as a list.
items
- The items (copied defensively into a list).Method Detail |
---|
public java.util.List<T> getItems()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |