Interface ScoreNodeIterator
-
- All Superinterfaces:
Iterator
,NodeIterator
,RangeIterator
- All Known Implementing Classes:
NodeIteratorImpl
public interface ScoreNodeIterator extends NodeIterator
Extends theNodeIterator
interface by adding agetScore()
method that returns the score for the node that is returned byNodeIterator.nextNode()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getScore()
Returns the score of the node returned byNodeIterator.nextNode()
.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface javax.jcr.NodeIterator
nextNode
-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
getScore
double getScore()
Returns the score of the node returned byNodeIterator.nextNode()
. In other words, this method returns the score value of the nextNode
.- Returns:
- the score of the node returned by
NodeIterator.nextNode()
. - Throws:
NoSuchElementException
- if there is no next node.
-
-