edu.stanford.nlp.util.logging
Class RepeatedRecordHandler.ExactRepeatSemantics
java.lang.Object
edu.stanford.nlp.util.logging.RepeatedRecordHandler.ExactRepeatSemantics
- All Implemented Interfaces:
- RepeatedRecordHandler.RepeatSemantics
- Enclosing class:
- RepeatedRecordHandler
public static class RepeatedRecordHandler.ExactRepeatSemantics
- extends Object
- implements RepeatedRecordHandler.RepeatSemantics
Judges two records to be equal if they are from the same place,
and have the same message
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepeatedRecordHandler.ExactRepeatSemantics
public RepeatedRecordHandler.ExactRepeatSemantics()
equals
public boolean equals(Redwood.Record lastRecord,
Redwood.Record record)
- Specified by:
equals
in interface RepeatedRecordHandler.RepeatSemantics
maxWaitTimeInMillis
public long maxWaitTimeInMillis()
- Specified by:
maxWaitTimeInMillis
in interface RepeatedRecordHandler.RepeatSemantics
numToForcePrint
public int numToForcePrint()
- Specified by:
numToForcePrint
in interface RepeatedRecordHandler.RepeatSemantics
message
public String message(int linesOmitted)
- Specified by:
message
in interface RepeatedRecordHandler.RepeatSemantics
Stanford NLP Group