diff --git a/rxjava-core/src/main/java/rx/Observable.java b/rxjava-core/src/main/java/rx/Observable.java index 1a81e61be7b..c21913f86a3 100644 --- a/rxjava-core/src/main/java/rx/Observable.java +++ b/rxjava-core/src/main/java/rx/Observable.java @@ -3046,39 +3046,6 @@ public Observable distinctUntilChanged(Func1 keyS return create(OperationDistinctUntilChanged.distinctUntilChanged(this, keySelector)); } - /** - * Returns an Observable that forwards all items emitted from the source Observable that are sequentially - * distinct according to a comparator. - *

- * - * - * @param equalityComparator - * a comparator for deciding whether two emitted items are equal or not - * @return an Observable of sequentially distinct items - * @see MSDN: Observable.distinctUntilChanged - */ - public Observable distinctUntilChanged(Comparator equalityComparator) { - return create(OperationDistinctUntilChanged.distinctUntilChanged(this, equalityComparator)); - } - - /** - * Returns an Observable that forwards all items emitted from the source Observable that are sequentially - * distinct according to a key selector function and a comparator. - *

- * - * - * @param keySelector - * a function that projects an emitted item to a key value which is used for deciding whether an item is sequentially - * distinct from another one or not - * @param equalityComparator - * a comparator for deciding whether two emitted item keys are equal or not - * @return an Observable of sequentially distinct items - * @see MSDN: Observable.distinctUntilChanged - */ - public Observable distinctUntilChanged(Func1 keySelector, Comparator equalityComparator) { - return create(OperationDistinctUntilChanged.distinctUntilChanged(this, keySelector, equalityComparator)); - } - /** * Returns an Observable that forwards all distinct items emitted from the source Observable. *

@@ -3091,21 +3058,6 @@ public Observable distinct() { return create(OperationDistinct.distinct(this)); } - /** - * Returns an Observable that forwards all items emitted from the source Observable that are distinct according - * to a comparator. - *

- * - * - * @param equalityComparator - * a comparator for deciding whether two emitted items are equal or not - * @return an Observable of distinct items - * @see MSDN: Observable.distinct - */ - public Observable distinct(Comparator equalityComparator) { - return create(OperationDistinct.distinct(this, equalityComparator)); - } - /** * Returns an Observable that forwards all items emitted from the source Observable that are distinct according * to a key selector function. @@ -3122,24 +3074,6 @@ public Observable distinct(Func1 keySelector) { return create(OperationDistinct.distinct(this, keySelector)); } - /** - * Returns an Observable that forwards all items emitted from the source Observable that are distinct according - * to a key selector function and a comparator. - *

- * - * - * @param keySelector - * a function that projects an emitted item to a key value which is used for deciding whether an item is - * distinct from another one or not - * @param equalityComparator - * a comparator for deciding whether two emitted item keys are equal or not - * @return an Observable of distinct items - * @see MSDN: Observable.distinct - */ - public Observable distinct(Func1 keySelector, Comparator equalityComparator) { - return create(OperationDistinct.distinct(this, keySelector, equalityComparator)); - } - /** * Returns the element at a specified index in a sequence. *