public class Rank extends Object
| Constructor and Description |
|---|
Rank() |
| Modifier and Type | Method and Description |
|---|---|
static <E> @NotNull ArrayList<E> |
lineup(@Nullable Collection<E> items,
Predicate<E>... predicate)
按 predicate的顺序,把 items 排好。
|
@NotNull @SafeVarargs public static <E> @NotNull ArrayList<E> lineup(@Nullable @Nullable Collection<E> items, @Nullable Predicate<E>... predicate)
E - 元素items - 元素predicate - 顺序Copyright © 2020. All rights reserved.