/** * Creates a pattern that matches when all previous observable sequences have an available element. * * @param other * Observable sequence to match with the previous sequences. * @return Pattern object that matches when all observable sequences have an available element. */ public PatternN and(Observable<? extends Object> other) { if (other == null) { throw new NullPointerException(); } return new PatternN(observables, other); }
/** * Creates a pattern that matches when all previous observable sequences have an available element. * * @param other * Observable sequence to match with the previous sequences. * @return Pattern object that matches when all observable sequences have an available element. */ public PatternN and(Observable<? extends Object> other) { if (other == null) { throw new NullPointerException(); } return new PatternN(observables, other); }
/** * Creates a pattern that matches when all nine observable sequences have an available element. * * @param other * Observable sequence to match with the eight previous sequences. * @return Pattern object that matches when all observable sequences have an available element. */ public PatternN and(Observable<? extends Object> other) { if (other == null) { throw new NullPointerException(); } List<Observable<? extends Object>> list = new ArrayList<Observable<? extends Object>>(); list.add(o1); list.add(o2); list.add(o3); list.add(o4); list.add(o5); list.add(o6); list.add(o7); list.add(o8); list.add(o9); list.add(other); return new PatternN(list); } /**
/** * Creates a pattern that matches when all nine observable sequences have an available element. * * @param other * Observable sequence to match with the eight previous sequences. * @return Pattern object that matches when all observable sequences have an available element. */ public PatternN and(Observable<? extends Object> other) { if (other == null) { throw new NullPointerException(); } List<Observable<? extends Object>> list = new ArrayList<Observable<? extends Object>>(); list.add(o1); list.add(o2); list.add(o3); list.add(o4); list.add(o5); list.add(o6); list.add(o7); list.add(o8); list.add(o9); list.add(other); return new PatternN(list); } /**