Interface RQueue<T>

  • All Superinterfaces:
    java.util.Collection<T>, java.lang.Iterable<T>, java.util.Queue<T>, RCollection<T>, ToString
    All Known Implementing Classes:
    RQueueBySrc

    public interface RQueue<T>
    extends RCollection<T>, java.util.Queue<T>
    • Method Summary

      All Methods Static Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default boolean addAll​(@NotNull java.util.Collection<? extends T> c)  
      default void clear()  
      default boolean containsAll​(@NotNull java.util.Collection<?> c)  
      default <T2> void link​(RQueue<T2> other, AFunction<T,​T2> f, AFunction<T2,​T> back)  
      default <T2> @NotNull RQueue<T2> map​(AFunction<T,​T2> f, AFunction<T2,​T> back)  
      static <E> RQueue<E> of​(java.util.Queue<E> src)  
      default boolean removeAll​(@NotNull java.util.Collection<?> c)  
      default boolean retainAll​(@NotNull java.util.Collection<?> c)  
      • Methods inherited from interface java.util.Collection

        contains, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeIf, size, spliterator, stream, toArray, toArray, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Queue

        add, element, offer, peek, poll, remove
    • Method Detail

      • retainAll

        default boolean retainAll​(@NotNull
                                  @NotNull java.util.Collection<?> c)
        Specified by:
        retainAll in interface java.util.Collection<T>
        Specified by:
        retainAll in interface RCollection<T>
      • clear

        default void clear()
        Specified by:
        clear in interface java.util.Collection<T>
        Specified by:
        clear in interface RCollection<T>
      • addAll

        default boolean addAll​(@NotNull
                               @NotNull java.util.Collection<? extends T> c)
        Specified by:
        addAll in interface java.util.Collection<T>
        Specified by:
        addAll in interface RCollection<T>
      • containsAll

        default boolean containsAll​(@NotNull
                                    @NotNull java.util.Collection<?> c)
        Specified by:
        containsAll in interface java.util.Collection<T>
        Specified by:
        containsAll in interface RCollection<T>
      • removeAll

        default boolean removeAll​(@NotNull
                                  @NotNull java.util.Collection<?> c)
        Specified by:
        removeAll in interface java.util.Collection<T>
        Specified by:
        removeAll in interface RCollection<T>
      • of

        static <E> RQueue<E> of​(java.util.Queue<E> src)