Interface RankingHelper.RankTester<T>

  • Type Parameters:
    T - the type for the rank comparison.
    Enclosing class:
    RankingHelper<T>

    public static interface RankingHelper.RankTester<T>
    Helper callback interface for rank testing.
    See Also:
    RankingHelper
    • Method Detail

      • getRank

        double getRank​(T element)
        Callback method which should delegate to the actual ranking element.
        Parameters:
        element - the element to get the rank/priority for
        Returns:
        numeric priority value. Higher value means higher priority.