Package org.apache.camel.util
Class CastUtils
- java.lang.Object
-
- org.apache.camel.util.CastUtils
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Class<T>
cast(Class<?> p)
static <T> Class<T>
cast(Class<?> p, Class<T> cls)
static <T> Collection<T>
cast(Collection<?> p)
static <T> Collection<T>
cast(Collection<?> p, Class<T> cls)
static <T> Future<T>
cast(Future<?> p)
static <T> Deque<T>
cast(Deque<?> p)
static <T> Deque<T>
cast(Deque<?> p, Class<T> cls)
static <T> Enumeration<T>
cast(Enumeration<?> p)
static <T,U>
Hashtable<T,U>cast(Hashtable<?,?> p)
static <T,U>
Hashtable<T,U>cast(Hashtable<?,?> p, Class<T> pc, Class<U> uc)
static <T> Iterator<T>
cast(Iterator<?> p)
static <T> Iterator<T>
cast(Iterator<?> p, Class<T> cls)
static <T> List<T>
cast(List<?> p)
static <T> List<T>
cast(List<?> p, Class<T> cls)
static <T,U>
Map.Entry<T,U>cast(Map.Entry<?,?> p)
static <T,U>
Map.Entry<T,U>cast(Map.Entry<?,?> p, Class<T> pc, Class<U> uc)
static <T,U>
Map<T,U>cast(Map<?,?> p)
static <T,U>
Map<T,U>cast(Map<?,?> p, Class<T> t, Class<U> u)
static <T> Queue<T>
cast(Queue<?> p)
static <T> Queue<T>
cast(Queue<?> p, Class<T> cls)
static <T> Set<T>
cast(Set<?> p)
static <T> Set<T>
cast(Set<?> p, Class<T> cls)
static <T> NamingEnumeration<T>
cast(NamingEnumeration<?> p)
-
-
-
Method Detail
-
cast
public static <T> Collection<T> cast(Collection<?> p)
-
cast
public static <T> Collection<T> cast(Collection<?> p, Class<T> cls)
-
cast
public static <T> Enumeration<T> cast(Enumeration<?> p)
-
cast
public static <T> NamingEnumeration<T> cast(NamingEnumeration<?> p)
-
-