public interface Output<T extends Output<T>> extends Serializable
It's subclassed in each of the modules:
fullEquals(T)
.Modifier and Type | Method and Description |
---|---|
T |
copy()
Deep copy of the output up to it's immutable state.
|
boolean |
fullEquals(T other)
Compares other to this output.
|
String |
getSerializableForm(boolean includeConfidence)
Generates a String suitable for writing to a csv or json file.
|
T copy()
String getSerializableForm(boolean includeConfidence)
includeConfidence
- Include whatever confidence score the label contains, if known.boolean fullEquals(T other)
other
- Another output instance.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.