public static interface RDFList.ReduceFn
Modifier and Type | Method and Description |
---|---|
Object |
reduce(RDFNode node,
Object accumulator)
Apply a function to the given RDF node.
|
Object reduce(RDFNode node, Object accumulator)
Apply a function to the given RDF node.
node
- A node from the list.accumulator
- The accumulator for the reduction, which will
either be an initial value passed to RDFList.reduce(org.apache.jena.rdf.model.RDFList.ReduceFn, java.lang.Object)
, or the
output from reduce
applied to the previous node in the
list.Licenced under the Apache License, Version 2.0