recyclerview-selection/src/main/java/androidx/recyclerview/selection/SelectionTracker.java
public Builder<K> withSelectionPredicate(
                @NonNull SelectionPredicate<K> predicate) {

            checkArgument(predicate != null);
            mSelectionPredicate = predicate;
            return this;
        }
/**
         * Install selection predicate.
         *
         * @param predicate the predicate to be used.
         * @return this
         */
Install selection predicate.
@param predicate the predicate to be used.
@return this
Install selection predicate . @param predicate the predicate to be used . @return this
public Builder<K> withSelectionPredicate(
                @NonNull SelectionPredicate<K> predicate) {
            checkArgument(predicate != null);
            mSelectionPredicate = predicate;
            return this;
        }
public Builder < K > withSelectionPredicate ( @ NonNull SelectionPredicate < K > predicate ) { checkArgument ( predicate != null ) ; mSelectionPredicate = predicate ; return this ; }
Install selection predicate.
Install selection predicate .