|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.minorthird.classify.experiments.EvaluationGroup
public class EvaluationGroup
A group of related evaluations.
| Constructor Summary | |
|---|---|
EvaluationGroup()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String name,
Evaluation evaluation)
Add an evaluation to the group |
java.util.Iterator<java.lang.String> |
evalNameIterator()
Return an iterator for the names of evaluations in the group. |
Evaluation |
getEvaluation(java.lang.String name)
Return the evaluation associated with this name. |
java.lang.String |
getExtensionFor(java.lang.String s)
Recomended extension for the format with the given name. |
java.lang.String[] |
getFormatNames()
List of formats in which the object can be saved. |
static void |
main(java.lang.String[] args)
|
java.lang.Object |
restore(java.io.File file)
Restore the object from a file. |
void |
saveAs(java.io.File file,
java.lang.String format)
Save this object to the given file, in the given format. |
Viewer |
toGUI()
Create a view of this object |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EvaluationGroup()
| Method Detail |
|---|
public void add(java.lang.String name,
Evaluation evaluation)
public java.util.Iterator<java.lang.String> evalNameIterator()
public Evaluation getEvaluation(java.lang.String name)
public java.lang.String toString()
toString in class java.lang.Objectpublic Viewer toGUI()
Visible
toGUI in interface Visiblepublic java.lang.String[] getFormatNames()
Saveable
getFormatNames in interface Saveablepublic java.lang.String getExtensionFor(java.lang.String s)
Saveable
getExtensionFor in interface Saveable
public void saveAs(java.io.File file,
java.lang.String format)
throws java.io.IOException
Saveable
saveAs in interface Saveablejava.io.IOException
public java.lang.Object restore(java.io.File file)
throws java.io.IOException
Saveable
restore in interface Saveablejava.io.IOExceptionpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||