Class AbstractObservationTableWriter<I,D>
- java.lang.Object
-
- de.learnlib.datastructure.observationtable.writer.AbstractObservationTableWriter<I,D>
-
- All Implemented Interfaces:
ObservationTableWriter<I,D>
- Direct Known Subclasses:
ObservationTableASCIIWriter
,ObservationTableHTMLWriter
,SuffixASCIIWriter
public abstract class AbstractObservationTableWriter<I,D> extends Object implements ObservationTableWriter<I,D>
-
-
Field Summary
Fields Modifier and Type Field Description protected Function<? super D,? extends String>
outputToString
protected Function<? super Word<? extends I>,? extends String>
wordToString
-
Constructor Summary
Constructors Constructor Description AbstractObservationTableWriter()
AbstractObservationTableWriter(Function<? super Word<? extends I>,? extends String> wordToString, Function<? super D,? extends String> outputToString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
outputToString(D output)
protected static <T> Function<? super T,? extends String>
safeToStringFunction(Function<? super T,? extends String> toStringFunction)
void
setOutputToString(Function<? super D,? extends String> outputToString)
void
setWordToString(Function<? super Word<? extends I>,? extends String> wordToString)
protected String
wordToString(Word<? extends I> word)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.learnlib.datastructure.observationtable.writer.ObservationTableWriter
write, write, write, write
-
-
-
-
Method Detail
-
safeToStringFunction
protected static <T> Function<? super T,? extends String> safeToStringFunction(Function<? super T,? extends String> toStringFunction)
-
setWordToString
public void setWordToString(@UnknownInitialization(AbstractObservationTableWriter.class) AbstractObservationTableWriter<I,D> this, Function<? super Word<? extends I>,? extends String> wordToString)
-
setOutputToString
public void setOutputToString(Function<? super D,? extends String> outputToString)
-
-