Package rx.subjects

Class ReplaySubject.ReplayUnboundedBuffer<T>

  • Type Parameters:
    T - the value type
    All Implemented Interfaces:
    ReplaySubject.ReplayBuffer<T>
    Enclosing class:
    ReplaySubject<T>

    static final class ReplaySubject.ReplayUnboundedBuffer<T>
    extends java.lang.Object
    implements ReplaySubject.ReplayBuffer<T>
    An unbounded ReplayBuffer implementation that uses linked-arrays to avoid copy-on-grow situation with ArrayList.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int capacity  
      (package private) boolean done  
      (package private) java.lang.Throwable error  
      (package private) java.lang.Object[] head  
      (package private) int size  
      (package private) java.lang.Object[] tail  
      (package private) int tailIndex