public abstract class Varargs extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
asArray(Collection<? extends T> collection,
Class<T> type) |
static <T> com.google.common.collect.ImmutableList<T> |
asCollection(Collection<T> list,
T arg,
T... others) |
static <T> com.google.common.collect.ImmutableList<T> |
asCollection(T[] list,
T arg,
T... others) |
static <T> com.google.common.collect.ImmutableList<T> |
asCollection(T arg,
T... others) |
static <T> com.google.common.collect.ImmutableList<T> |
asCollection(T arg,
T other,
T... others) |
static <T> com.google.common.collect.ImmutableList<T> |
asCollectionPrependVarargs(Collection<T> list,
T arg,
T... others) |
static <T> com.google.common.collect.ImmutableList<T> |
asCollectionPrependVarargs(T[] list,
T arg,
T... others) |
public static <T> com.google.common.collect.ImmutableList<T> asCollection(T arg,
T... others)
public static <T> com.google.common.collect.ImmutableList<T> asCollection(T arg,
T other,
T... others)
@SafeVarargs public static <T> com.google.common.collect.ImmutableList<T> asCollection(Collection<T> list, T arg, T... others)
@SafeVarargs public static <T> com.google.common.collect.ImmutableList<T> asCollection(T[] list, T arg, T... others)
@SafeVarargs public static <T> com.google.common.collect.ImmutableList<T> asCollectionPrependVarargs(Collection<T> list, T arg, T... others)
@SafeVarargs public static <T> com.google.common.collect.ImmutableList<T> asCollectionPrependVarargs(T[] list, T arg, T... others)
public static <T> T[] asArray(Collection<? extends T> collection, Class<T> type)
Copyright © 2014. All Rights Reserved.