@Test public void testToListReturnsCombinedListOfItems() { assertEquals(3, RxUtils.toList(new Object[]{"1", "2", "3"}).size()); }
@NonNull @SuppressWarnings("unchecked") static <T> List<T> toList(@NonNull final Object... args) { checkNotNull(args); final List<T> list = new ArrayList<>(args.length); for (Object item : args) { list.add((T) item); } return list; }
RxUtils { @NonNull @SuppressWarnings("unchecked") static <T> List<T> toList(@NonNull final Object... args) { checkNotNull(args); final List<T> list = new ArrayList<>(args.length); for (Object item : args) { list.add((T) item); } return list; } }
RxUtils { @NonNull @SuppressWarnings("unchecked") static <T> List<T> toList(@NonNull final Object... args) { checkNotNull(args); final List<T> list = new ArrayList<>(args.length); for (Object item : args) { list.add((T) item); } return list; } private  RxUtils(); }
RxUtils { @NonNull @SuppressWarnings("unchecked") static <T> List<T> toList(@NonNull final Object... args) { checkNotNull(args); final List<T> list = new ArrayList<>(args.length); for (Object item : args) { list.add((T) item); } return list; } private  RxUtils(); @NonNull static Observable<List<T>> toObservableList(@NonNull final List<Observable<T>> observables); }
RxUtils { @NonNull @SuppressWarnings("unchecked") static <T> List<T> toList(@NonNull final Object... args) { checkNotNull(args); final List<T> list = new ArrayList<>(args.length); for (Object item : args) { list.add((T) item); } return list; } private  RxUtils(); @NonNull static Observable<List<T>> toObservableList(@NonNull final List<Observable<T>> observables);  }