Class OperatorAll<T>

  • Type Parameters:
    T - the value type
    All Implemented Interfaces:
    Func1<Subscriber<? super java.lang.Boolean>,​Subscriber<? super T>>, Function, Observable.Operator<java.lang.Boolean,​T>

    public final class OperatorAll<T>
    extends java.lang.Object
    implements Observable.Operator<java.lang.Boolean,​T>
    Returns an Observable that emits a Boolean that indicates whether all items emitted by an Observable satisfy a condition.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) Func1<? super T,​java.lang.Boolean> predicate  
    • Constructor Summary

      Constructors 
      Constructor Description
      OperatorAll​(Func1<? super T,​java.lang.Boolean> predicate)  
    • Method Summary

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

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

      • predicate

        final Func1<? super T,​java.lang.Boolean> predicate
    • Constructor Detail

      • OperatorAll

        public OperatorAll​(Func1<? super T,​java.lang.Boolean> predicate)