Class OperatorElementAt<T>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  OperatorElementAt.InnerProducer
      A producer that wraps another Producer and requests Long.MAX_VALUE when the first positive request() call comes in.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) T defaultValue  
      (package private) boolean hasDefault  
      (package private) int index  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Subscriber<? super T> call​(Subscriber<? super T> child)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • index

        final int index
      • hasDefault

        final boolean hasDefault
      • defaultValue

        final T defaultValue
    • Constructor Detail

      • OperatorElementAt

        public OperatorElementAt​(int index)
      • OperatorElementAt

        public OperatorElementAt​(int index,
                                 T defaultValue)
      • OperatorElementAt

        private OperatorElementAt​(int index,
                                  T defaultValue,
                                  boolean hasDefault)