@@ -4188,36 +4188,36 @@ private boolean isInternalImplementation(Object o) {
4188
4188
return p != null && p .getName ().startsWith ("rx.operators" );
4189
4189
}
4190
4190
4191
- // /**
4192
- // * Returns an {@link Observable} that emits <code>true</code> if the source
4193
- // * {@link Observable} is not empty, otherwise <code>false</code>.
4194
- // *
4195
- // * @param source
4196
- // * The source {@link Observable} to check if not empty.
4197
- // * @return A subscription function for creating the target Observable.
4198
- // * @see <a href=
4199
- // * "http://msdn.microsoft.com/en-us/library/hh229905(v=vs.103).aspx"
4200
- // * >MSDN: Observable.Any</a>
4201
- // */
4202
- // public Observable<Boolean> any() {
4203
- // return create(OperationAny.any(this));
4204
- // }
4205
- //
4206
- // /**
4207
- // * Returns an {@link Observable} that emits <code>true</code> if all items
4208
- // * of the source {@link Observable} satisfy the given condition, otherwise
4209
- // * <code>false</code>.
4210
- // *
4211
- // * @param predicate
4212
- // * The condition all items have to satisfy.
4213
- // * @return A subscription function for creating the target Observable.
4214
- // *
4215
- // * @see <a href=
4216
- // * "http://msdn.microsoft.com/en-us/library/hh211993(v=vs.103).aspx"
4217
- // * >MSDN: Observable.Any</a>
4218
- // */
4219
- // public Observable<Boolean> any(Func1<? super T, Boolean> predicate) {
4220
- // return create(OperationAny.any(this, predicate));
4221
- // }
4191
+ /**
4192
+ * Returns an {@link Observable} that emits <code>true</code> if the source
4193
+ * {@link Observable} is not empty, otherwise <code>false</code>.
4194
+ *
4195
+ * @param source
4196
+ * The source {@link Observable} to check if not empty.
4197
+ * @return A subscription function for creating the target Observable.
4198
+ * @see <a href=
4199
+ * "http://msdn.microsoft.com/en-us/library/hh229905(v=vs.103).aspx"
4200
+ * >MSDN: Observable.Any</a>
4201
+ */
4202
+ public Observable <Boolean > any () {
4203
+ return create (OperationAny .any (this ));
4204
+ }
4205
+
4206
+ /**
4207
+ * Returns an {@link Observable} that emits <code>true</code> if all items
4208
+ * of the source {@link Observable} satisfy the given condition, otherwise
4209
+ * <code>false</code>.
4210
+ *
4211
+ * @param predicate
4212
+ * The condition all items have to satisfy.
4213
+ * @return A subscription function for creating the target Observable.
4214
+ *
4215
+ * @see <a href=
4216
+ * "http://msdn.microsoft.com/en-us/library/hh211993(v=vs.103).aspx"
4217
+ * >MSDN: Observable.Any</a>
4218
+ */
4219
+ public Observable <Boolean > any (Func1 <? super T , Boolean > predicate ) {
4220
+ return create (OperationAny .any (this , predicate ));
4221
+ }
4222
4222
4223
4223
}
0 commit comments