public class BambooIterablesUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> void |
addAll(@NotNull Collection<T> to,
@Nullable Iterable<? extends T> from) |
static boolean |
containsInstance(@Nullable Iterable<?> haystack,
@Nullable Object needle) |
static <T> boolean |
isEmpty(@Nullable Iterable<T> iterable) |
static <T> boolean |
isNotEmpty(@Nullable Iterable<T> iterable) |
static <T> @NotNull Iterable<T> |
toIterable(@NotNull Iterator<T> iterator) |
public static <T> boolean isEmpty(@Nullable @Nullable Iterable<T> iterable)
public static <T> boolean isNotEmpty(@Nullable @Nullable Iterable<T> iterable)
@NotNull public static <T> @NotNull Iterable<T> toIterable(@NotNull @NotNull Iterator<T> iterator)
public static boolean containsInstance(@Nullable @Nullable Iterable<?> haystack, @Nullable @Nullable Object needle)
public static <T> void addAll(@NotNull @NotNull Collection<T> to, @Nullable @Nullable Iterable<? extends T> from)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.