edu.stanford.nlp.trees.tregex.gui
Class InputPanel.HistoryEntry

java.lang.Object
  extended by edu.stanford.nlp.trees.tregex.gui.InputPanel.HistoryEntry
Enclosing class:
InputPanel

public static class InputPanel.HistoryEntry
extends java.lang.Object

Simple class for storing history objects that go nicely into a toString for saving

Author:
rafferty

Constructor Summary
InputPanel.HistoryEntry(java.lang.String pattern, int numTreesMatched, int numMatches)
           
 
Method Summary
static java.lang.String[] columnNamesArray()
           
static java.lang.String header()
          Gets the string header indicating the fields included in a HistoryEntry string representation
 java.lang.Object[] toArray()
          Returns an array with pattern as the first entry, numTreesMatched as the second, and numMatches as the third
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputPanel.HistoryEntry

public InputPanel.HistoryEntry(java.lang.String pattern,
                               int numTreesMatched,
                               int numMatches)
Method Detail

toArray

public java.lang.Object[] toArray()
Returns an array with pattern as the first entry, numTreesMatched as the second, and numMatches as the third

Returns:
An array with pattern as the first entry, numTreesMatched as the second, and numMatches as the third

columnNamesArray

public static java.lang.String[] columnNamesArray()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

header

public static java.lang.String header()
Gets the string header indicating the fields included in a HistoryEntry string representation

Returns:
A String header


Stanford NLP Group