public interface ScoreNodeIterator extends NodeIterator
NodeIterator
interface by adding a getScore()
method that returns the score for the node that is returned by
NodeIterator.nextNode()
.Modifier and Type | Method and Description |
---|---|
double |
getScore()
Returns the score of the node returned by
NodeIterator.nextNode() . |
nextNode
getPosition, getSize, skip
forEachRemaining, hasNext, next, remove
double getScore()
NodeIterator.nextNode()
. In other
words, this method returns the score value of the next
Node
.NodeIterator.nextNode()
.NoSuchElementException
- if there is no next node.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.