Class AbstractQueueSorterImpl

    • Constructor Detail

      • AbstractQueueSorterImpl

        public AbstractQueueSorterImpl()
    • Method Detail

      • sortBuildableItems

        public void sortBuildableItems​(List<Queue.BuildableItem> buildables)
        Description copied from class: QueueSorter
        Sorts the buildable items list. The items at the beginning will be executed before the items at the end of the list.
        Specified by:
        sortBuildableItems in class QueueSorter
        Parameters:
        buildables - List of buildable items in the queue. Never null.
      • compare

        @Deprecated
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        @RestrictedSince("2.211")
        protected static int compare​(long a,
                                     long b)
        Deprecated.
        Use Long.compare instead. sign(a-b).
      • compare

        @Deprecated
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        @RestrictedSince("2.211")
        protected static int compare​(int a,
                                     int b)
        Deprecated.
        Use Integer.compare instead. sign(a-b).