Class MpscOnSpscQueue<E>

  • All Implemented Interfaces:
    java.lang.Iterable<E>, java.util.Collection<E>, java.util.Queue<E>

    public final class MpscOnSpscQueue<E>
    extends MpscOnSpscFields<E>
    implements java.util.Queue<E>
    • Field Detail

      • p40

        long p40
      • p41

        long p41
      • p42

        long p42
      • p43

        long p43
      • p44

        long p44
      • p45

        long p45
      • p46

        long p46
      • p30

        long p30
      • p31

        long p31
      • p32

        long p32
      • p33

        long p33
      • p34

        long p34
      • p35

        long p35
      • p36

        long p36
      • p37

        long p37
    • Constructor Detail

      • MpscOnSpscQueue

        public MpscOnSpscQueue​(int capacity)
    • Method Detail

      • offer

        public boolean offer​(E e)
        Specified by:
        offer in interface java.util.Queue<E>
      • poll

        public E poll()
        Specified by:
        poll in interface java.util.Queue<E>
      • peek

        public E peek()
        Specified by:
        peek in interface java.util.Queue<E>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<E>
        Specified by:
        size in class java.util.AbstractCollection<E>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<E>
        Overrides:
        isEmpty in class java.util.AbstractCollection<E>
      • iterator

        public java.util.Iterator<E> iterator()
        Specified by:
        iterator in interface java.util.Collection<E>
        Specified by:
        iterator in interface java.lang.Iterable<E>
        Specified by:
        iterator in class java.util.AbstractCollection<E>