abstract class ClassUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E>> |
commonEnumClass(EnumSignalSource<E>... s) |
static <E extends Enum<E>> |
commonEnumClass(EnumSignalSource<E>[] s,
Class<E> expected) |
static <E extends Enum<E>> |
commonEnumClass(EnumSignalSource<E> s,
EnumSignalSource<E> t) |
static <E extends Enum<E>> |
commonEnumClass(Iterable<? extends EnumSignalSource<E>> s) |
static <A> Class<? super A> |
commonSuperclass(Class<? super A> c,
Class<? super A> d) |
static <A> Class<? super A> |
commonValueClass(Iterable<? extends SignalSource<A>> s) |
static <A> Class<? super A> |
commonValueClass(SignalSource<A>... s) |
public static <A> Class<? super A> commonSuperclass(Class<? super A> c, Class<? super A> d)
public static <A> Class<? super A> commonValueClass(Iterable<? extends SignalSource<A>> s)
@SafeVarargs public static <A> Class<? super A> commonValueClass(SignalSource<A>... s)
public static <E extends Enum<E>> Class<E> commonEnumClass(EnumSignalSource<E> s, EnumSignalSource<E> t)
public static <E extends Enum<E>> Class<E> commonEnumClass(Iterable<? extends EnumSignalSource<E>> s)
@SafeVarargs public static <E extends Enum<E>> Class<E> commonEnumClass(EnumSignalSource<E>... s)
public static <E extends Enum<E>> boolean commonEnumClass(EnumSignalSource<E>[] s, Class<E> expected)