edu.illinois.cs.cogcomp.lbj.coref.ir.solutions
Class MentionSolution

java.lang.Object
  extended by edu.illinois.cs.cogcomp.lbj.coref.ir.solutions.ListSolution<Mention>
      extended by edu.illinois.cs.cogcomp.lbj.coref.ir.solutions.MentionSolution
All Implemented Interfaces:
Solution, java.io.Serializable

public class MentionSolution
extends ListSolution<Mention>

A solution that stores a list of mentions.

Author:
Eric Bengtson
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
MentionSolution()
          Constructs an empty MentionSolution.
MentionSolution(java.util.Collection<Mention> mentions)
          Constructor that takes a collection of mentions and creates a defensive copy.
 
Method Summary
 java.util.List<Mention> getMentions()
          Gets the items (as an unmodifiable view).
 
Methods inherited from class edu.illinois.cs.cogcomp.lbj.coref.ir.solutions.ListSolution
getItems, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

MentionSolution

public MentionSolution()
Constructs an empty MentionSolution.


MentionSolution

public MentionSolution(java.util.Collection<Mention> mentions)
Constructor that takes a collection of mentions and creates a defensive copy.

Parameters:
mentions - A collection of mentions.
Method Detail

getMentions

public java.util.List<Mention> getMentions()
Gets the items (as an unmodifiable view).

Returns:
An unmodifiable view of the items.