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(). |
nextNodegetPosition, getSize, skipforEachRemaining, hasNext, next, removedouble 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–2020 The Apache Software Foundation. All rights reserved.