@Beta public final class BinaryErrorLogger<KeyT extends HasDocID,TestT extends HasDocID> extends Object implements Inspector<Alignment<? extends KeyT,? extends TestT>>
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
static <ItemT extends HasDocID> |
forStringifierAndOutputDir(com.google.common.base.Function<? super ItemT,String> stringifier,
File outputDirectory)
Creates a
BinaryErrorLogger. |
void |
inspect(Alignment<? extends KeyT,? extends TestT> alignment) |
public void finish()
throws IOException
finish in interface FinishableIOExceptionpublic static <ItemT extends HasDocID> BinaryErrorLogger<ItemT,ItemT> forStringifierAndOutputDir(com.google.common.base.Function<? super ItemT,String> stringifier, File outputDirectory)
BinaryErrorLogger. The stringifier is a means of rendering the
aligned items as strings. If you don't care, choose Functions.toStringFunction().Copyright © 2016. All rights reserved.