Class SingleWinnerDistribution

    • Method Summary

      Modifier and Type Method Description
      java.lang.Double apply​(Player player)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • SingleWinnerDistribution

        public SingleWinnerDistribution​(java.util.concurrent.atomic.AtomicReference<? extends IDHolder<?>> container)
      • SingleWinnerDistribution

        public SingleWinnerDistribution​(java.util.concurrent.atomic.AtomicReference<? extends IDHolder<?>> container,
                                        double scoreForWinner)
    • Method Detail

      • apply

        public java.lang.Double apply​(Player player)
        Specified by:
        apply in interface java.util.function.Function<Player<?>,​java.lang.Double>