public class XPathNodePointerRankingOnSet extends com.google.common.collect.ForwardingSortedSet<XPathNodePointer> implements XPathNodePointerRanking
Modifier and Type | Method and Description |
---|---|
protected SortedSet<XPathNodePointer> |
delegate() |
XPathNodePointerRanking |
divideScores(int divisor)
Creates a new ranking with divided scores.
|
XPathNodePointer |
getCanonicalPointer() |
XPathNodePointerRanking |
intersectWith(XPathNodePointerRanking other)
Creates a new ranking as intersection of this and other.
|
boolean |
meetsThreshold(int threshold) |
static XPathNodePointerRankingOnSet |
newRank() |
XPathNodePointerRanking |
normalize() |
static XPathNodePointerRanking |
transform(XPathNodePointerRanking candidateList,
com.google.common.base.Function<? super XPathNodePointer,? extends XPathNodePointer> function) |
comparator, first, headSet, last, standardContains, standardRemove, standardSubSet, subSet, tailSet
equals, hashCode, standardEquals, standardHashCode, standardRemoveAll
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContainsAll, standardIsEmpty, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparator, first, headSet, last, spliterator, subSet, tailSet
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
public static XPathNodePointerRankingOnSet newRank()
protected SortedSet<XPathNodePointer> delegate()
delegate
in class com.google.common.collect.ForwardingSortedSet<XPathNodePointer>
public XPathNodePointer getCanonicalPointer()
getCanonicalPointer
in interface XPathNodePointerRanking
public static XPathNodePointerRanking transform(XPathNodePointerRanking candidateList, com.google.common.base.Function<? super XPathNodePointer,? extends XPathNodePointer> function)
public XPathNodePointerRanking normalize()
normalize
in interface XPathNodePointerRanking
public XPathNodePointerRanking intersectWith(XPathNodePointerRanking other)
XPathNodePointerRanking
intersectWith
in interface XPathNodePointerRanking
public XPathNodePointerRanking divideScores(int divisor)
XPathNodePointerRanking
divideScores
in interface XPathNodePointerRanking
public boolean meetsThreshold(int threshold)
meetsThreshold
in interface XPathNodePointerRanking
Copyright © 2020 OXPath Team. All rights reserved.