@Test public void emptyPartialListテスト() { assertThat(Lists.emptyPartialList(), isA(PartialList.class)); assertTrue(Lists.emptyPartialList().isEmpty()); }
public static <T> PartialList<T> emptyPartialList() { return (PartialList<T>) EMPTY_PARTIAL_LIST; }
Lists { public static <T> PartialList<T> emptyPartialList() { return (PartialList<T>) EMPTY_PARTIAL_LIST; } }
Lists { public static <T> PartialList<T> emptyPartialList() { return (PartialList<T>) EMPTY_PARTIAL_LIST; } private  Lists(); }
Lists { public static <T> PartialList<T> emptyPartialList() { return (PartialList<T>) EMPTY_PARTIAL_LIST; } private  Lists(); static List<T> gen(T... elements); static List<T> gen(int size, GenCall<T> generator); static U gen(int size, Class<U> container, GenCall<T> generator); static List<T> each(List<T> elements, EachCall<T> callback); static List<T> collect(List<T> elements, CollectCall<T> callback); static Map<String, List<T>> group(List<T> elements, GroupCall<T> callback); static boolean isEmpty(List<T> suspect); static PartialList<T> emptyPartialList(); }
Lists { public static <T> PartialList<T> emptyPartialList() { return (PartialList<T>) EMPTY_PARTIAL_LIST; } private  Lists(); static List<T> gen(T... elements); static List<T> gen(int size, GenCall<T> generator); static U gen(int size, Class<U> container, GenCall<T> generator); static List<T> each(List<T> elements, EachCall<T> callback); static List<T> collect(List<T> elements, CollectCall<T> callback); static Map<String, List<T>> group(List<T> elements, GroupCall<T> callback); static boolean isEmpty(List<T> suspect); static PartialList<T> emptyPartialList(); @SuppressWarnings("rawtypes")
    static final PartialList EMPTY_PARTIAL_LIST; }