/** * Creates a pattern that matches when all four observable sequences have an available element. * * @param <T5> the value type of the extra Observable * @param other * Observable sequence to match with the three previous sequences. * @return Pattern object that matches when all observable sequences have an available element. */ public <T5> Pattern5<T1, T2, T3, T4, T5> and(Observable<T5> other) { if (other == null) { throw new NullPointerException(); } return new Pattern5<T1, T2, T3, T4, T5>(o1, o2, o3, o4, other); } /**
/** * Creates a pattern that matches when all four observable sequences have an available element. * * @param <T5> the value type of the extra Observable * @param other * Observable sequence to match with the three previous sequences. * @return Pattern object that matches when all observable sequences have an available element. */ public <T5> Pattern5<T1, T2, T3, T4, T5> and(Observable<T5> other) { if (other == null) { throw new NullPointerException(); } return new Pattern5<T1, T2, T3, T4, T5>(o1, o2, o3, o4, other); } /**