@@ -3046,39 +3046,6 @@ public <U> Observable<T> distinctUntilChanged(Func1<? super T, ? extends U> keyS
3046
3046
return create (OperationDistinctUntilChanged .distinctUntilChanged (this , keySelector ));
3047
3047
}
3048
3048
3049
- /**
3050
- * Returns an Observable that forwards all items emitted from the source Observable that are sequentially
3051
- * distinct according to a comparator.
3052
- * <p>
3053
- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/distinctUntilChanged.png">
3054
- *
3055
- * @param equalityComparator
3056
- * a comparator for deciding whether two emitted items are equal or not
3057
- * @return an Observable of sequentially distinct items
3058
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229776%28v=vs.103%29.aspx">MSDN: Observable.distinctUntilChanged</a>
3059
- */
3060
- public <U > Observable <T > distinctUntilChanged (Comparator <T > equalityComparator ) {
3061
- return create (OperationDistinctUntilChanged .distinctUntilChanged (this , equalityComparator ));
3062
- }
3063
-
3064
- /**
3065
- * Returns an Observable that forwards all items emitted from the source Observable that are sequentially
3066
- * distinct according to a key selector function and a comparator.
3067
- * <p>
3068
- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/distinctUntilChanged.key.png">
3069
- *
3070
- * @param keySelector
3071
- * a function that projects an emitted item to a key value which is used for deciding whether an item is sequentially
3072
- * distinct from another one or not
3073
- * @param equalityComparator
3074
- * a comparator for deciding whether two emitted item keys are equal or not
3075
- * @return an Observable of sequentially distinct items
3076
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229533%28v=vs.103%29.aspx">MSDN: Observable.distinctUntilChanged</a>
3077
- */
3078
- public <U > Observable <T > distinctUntilChanged (Func1 <? super T , ? extends U > keySelector , Comparator <U > equalityComparator ) {
3079
- return create (OperationDistinctUntilChanged .distinctUntilChanged (this , keySelector , equalityComparator ));
3080
- }
3081
-
3082
3049
/**
3083
3050
* Returns an Observable that forwards all distinct items emitted from the source Observable.
3084
3051
* <p>
@@ -3091,21 +3058,6 @@ public Observable<T> distinct() {
3091
3058
return create (OperationDistinct .distinct (this ));
3092
3059
}
3093
3060
3094
- /**
3095
- * Returns an Observable that forwards all items emitted from the source Observable that are distinct according
3096
- * to a comparator.
3097
- * <p>
3098
- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/distinct.png">
3099
- *
3100
- * @param equalityComparator
3101
- * a comparator for deciding whether two emitted items are equal or not
3102
- * @return an Observable of distinct items
3103
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh211630(v=vs.103).aspx">MSDN: Observable.distinct</a>
3104
- */
3105
- public <U > Observable <T > distinct (Comparator <T > equalityComparator ) {
3106
- return create (OperationDistinct .distinct (this , equalityComparator ));
3107
- }
3108
-
3109
3061
/**
3110
3062
* Returns an Observable that forwards all items emitted from the source Observable that are distinct according
3111
3063
* to a key selector function.
@@ -3122,24 +3074,6 @@ public <U> Observable<T> distinct(Func1<? super T, ? extends U> keySelector) {
3122
3074
return create (OperationDistinct .distinct (this , keySelector ));
3123
3075
}
3124
3076
3125
- /**
3126
- * Returns an Observable that forwards all items emitted from the source Observable that are distinct according
3127
- * to a key selector function and a comparator.
3128
- * <p>
3129
- * <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/distinct.key.png">
3130
- *
3131
- * @param keySelector
3132
- * a function that projects an emitted item to a key value which is used for deciding whether an item is
3133
- * distinct from another one or not
3134
- * @param equalityComparator
3135
- * a comparator for deciding whether two emitted item keys are equal or not
3136
- * @return an Observable of distinct items
3137
- * @see <a href="http://msdn.microsoft.com/en-us/library/hh229050(v=vs.103).aspx">MSDN: Observable.distinct</a>
3138
- */
3139
- public <U > Observable <T > distinct (Func1 <? super T , ? extends U > keySelector , Comparator <U > equalityComparator ) {
3140
- return create (OperationDistinct .distinct (this , keySelector , equalityComparator ));
3141
- }
3142
-
3143
3077
/**
3144
3078
* Returns the element at a specified index in a sequence.
3145
3079
*
0 commit comments