Class PlayerPrioritySort

java.lang.Object
com.sk89q.commandbook.util.entity.player.comparison.PlayerPrioritySort
All Implemented Interfaces:
java.util.Comparator<org.bukkit.entity.Player>

public class PlayerPrioritySort
extends java.lang.Object
implements java.util.Comparator<org.bukkit.entity.Player>
  • Constructor Summary

    Constructors 
    Constructor Description
    PlayerPrioritySort​(org.bukkit.entity.Player sender)  
  • Method Summary

    Modifier and Type Method Description
    int compare​(org.bukkit.entity.Player o1, org.bukkit.entity.Player o2)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Comparator

    equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
  • Constructor Details

  • Method Details

    • compare

      public int compare​(org.bukkit.entity.Player o1, org.bukkit.entity.Player o2)
      Specified by:
      compare in interface java.util.Comparator<org.bukkit.entity.Player>