Interface RPriorityQueue<V>

    • Method Detail

      • readAll

        List<V> readAll()
      • pollLastAndOfferFirstTo

        V pollLastAndOfferFirstTo​(String dequeName)
      • trySetComparator

        boolean trySetComparator​(Comparator<? super V> comparator)
        Sets new comparator only if current set is empty
        Parameters:
        comparator - for values
        Returns:
        true if new comparator setted false otherwise