@Test public void create_ReturnsNonNullBuilder() { final DiffRequestBuilder<TestModel> builder = DiffRequestBuilder.create(mDiffRequestManager, mCallback); assertThat(builder, notNullValue()); }
@NonNull public static <T> DiffRequestBuilder<T> create(@NonNull final Manager<T> diffRequestManager, @NonNull final DiffUtil.Callback callback) { return new DiffRequestBuilder<>(diffRequestManager, callback); }
DiffRequestBuilder { @NonNull public static <T> DiffRequestBuilder<T> create(@NonNull final Manager<T> diffRequestManager, @NonNull final DiffUtil.Callback callback) { return new DiffRequestBuilder<>(diffRequestManager, callback); } }
DiffRequestBuilder { @NonNull public static <T> DiffRequestBuilder<T> create(@NonNull final Manager<T> diffRequestManager, @NonNull final DiffUtil.Callback callback) { return new DiffRequestBuilder<>(diffRequestManager, callback); } DiffRequestBuilder(@NonNull final Manager<D> diffRequestManager,
                              @NonNull final DiffUtil.Callback callback); }
DiffRequestBuilder { @NonNull public static <T> DiffRequestBuilder<T> create(@NonNull final Manager<T> diffRequestManager, @NonNull final DiffUtil.Callback callback) { return new DiffRequestBuilder<>(diffRequestManager, callback); } DiffRequestBuilder(@NonNull final Manager<D> diffRequestManager,
                              @NonNull final DiffUtil.Callback callback); @NonNull static DiffRequestBuilder<T> create(@NonNull final Manager<T> diffRequestManager,
                                                   @NonNull final DiffUtil.Callback callback); @NonNull DiffRequestBuilder<D> detectMoves(final boolean detectMoves); @NonNull DiffRequestBuilder<D> updateAdapterWithNewData(@NonNull final List<D> newData); void calculate(); boolean isDetectingMoves(); }
DiffRequestBuilder { @NonNull public static <T> DiffRequestBuilder<T> create(@NonNull final Manager<T> diffRequestManager, @NonNull final DiffUtil.Callback callback) { return new DiffRequestBuilder<>(diffRequestManager, callback); } DiffRequestBuilder(@NonNull final Manager<D> diffRequestManager,
                              @NonNull final DiffUtil.Callback callback); @NonNull static DiffRequestBuilder<T> create(@NonNull final Manager<T> diffRequestManager,
                                                   @NonNull final DiffUtil.Callback callback); @NonNull DiffRequestBuilder<D> detectMoves(final boolean detectMoves); @NonNull DiffRequestBuilder<D> updateAdapterWithNewData(@NonNull final List<D> newData); void calculate(); boolean isDetectingMoves();  }