|
||||||||||
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.SetSolution<T>
public class SetSolution<T>
A solution containing a set of objects of some type T
Field Summary | |
---|---|
private java.util.Set<T> |
m_items
|
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
SetSolution()
Constructs an empty SetSolution . |
|
SetSolution(java.util.Collection<T> items)
Constructs a solution containing items as a set. |
Method Summary | |
---|---|
java.util.Set<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.Set<T> m_items
Constructor Detail |
---|
public SetSolution()
SetSolution
.
public SetSolution(java.util.Collection<T> items)
items
as a set.
items
- The items (copied defensively into a set).Method Detail |
---|
public java.util.Set<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 |