public class ImmutableUtils
extends java.lang.Object
| Constructor and Description |
|---|
ImmutableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.common.collect.ImmutableList<T> |
nullToEmptyList(com.google.common.collect.ImmutableList<T> list) |
static <T> com.google.common.collect.ImmutableSet<T> |
nullToEmptySet(com.google.common.collect.ImmutableSet<T> set) |
static <T> com.google.common.collect.ImmutableSortedSet<T> |
nullToEmptySortedSet(com.google.common.collect.ImmutableSortedSet<T> set) |
@Nonnull
public static <T> com.google.common.collect.ImmutableList<T> nullToEmptyList(@Nullable
com.google.common.collect.ImmutableList<T> list)
@Nonnull
public static <T> com.google.common.collect.ImmutableSet<T> nullToEmptySet(@Nullable
com.google.common.collect.ImmutableSet<T> set)
@Nonnull
public static <T> com.google.common.collect.ImmutableSortedSet<T> nullToEmptySortedSet(@Nullable
com.google.common.collect.ImmutableSortedSet<T> set)