Class PrefixOps.OfUnordRef.RefPrefixBuffer

  • All Implemented Interfaces:
    java.util.function.Consumer<T>
    Enclosing class:
    PrefixOps.OfUnordRef<T>

    private final class PrefixOps.OfUnordRef.RefPrefixBuffer
    extends PrefixOps.PrefixBuffer
    implements java.util.function.Consumer<T>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RefPrefixBuffer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(T value)  
      (package private) void drainAll​(java.util.function.Consumer<? super T> action)  
      (package private) void drainOne​(java.util.function.Consumer<? super T> action)  
      (package private) boolean init​(java.util.Spliterator<T> source)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Field Detail

      • buf

        private final T[] buf
      • prevBufferLast

        private T prevBufferLast
    • Constructor Detail

      • RefPrefixBuffer

        private RefPrefixBuffer()
    • Method Detail

      • init

        boolean init​(java.util.Spliterator<T> source)
      • drainOne

        void drainOne​(java.util.function.Consumer<? super T> action)
      • drainAll

        void drainAll​(java.util.function.Consumer<? super T> action)
      • accept

        public void accept​(T value)
        Specified by:
        accept in interface java.util.function.Consumer<T>