U - external Marking typeV - internal Marking typepublic class SimpleTypeTransformingEvaluatorDecorator<U extends org.aksw.gerbil.transfer.nif.Marking,V extends org.aksw.gerbil.transfer.nif.Marking> extends AbstractTypeTransformingEvaluatorDecorator<U,V>
TypeTransformingEvaluatorDecorator that casts all
objects to the given internal target class. If an instance is not
implementing the given class it will be discarded.evaluator| Constructor and Description |
|---|
SimpleTypeTransformingEvaluatorDecorator(Evaluator<V> evaluator,
Class<? extends V> clazz) |
| Modifier and Type | Method and Description |
|---|---|
protected List<V> |
changeType(List<U> markings)
The method that performs the internal transformation.
|
changeListType, evaluate, getDecoratedprotected List<V> changeType(List<U> markings)
AbstractTypeTransformingEvaluatorDecoratorchangeType in class AbstractTypeTransformingEvaluatorDecorator<U extends org.aksw.gerbil.transfer.nif.Marking,V extends org.aksw.gerbil.transfer.nif.Marking>markings - the original list of markings listsCopyright © 2014–2017. All rights reserved.