Package org.apache.camel.util
Class CastUtils
java.lang.Object
org.apache.camel.util.CastUtils
Utility methods for type casting.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Class<T>
static <T> Class<T>
static <T> Collection<T>
cast
(Collection<?> p) static <T> Collection<T>
cast
(Collection<?> p, Class<T> cls) static <T> Future<T>
static <T> Deque<T>
static <T> Deque<T>
static <T> Enumeration<T>
cast
(Enumeration<?> p) static <T,
U> Hashtable<T, U> static <T,
U> Hashtable<T, U> static <T> Iterator<T>
static <T> Iterator<T>
static <T> List<T>
static <T> List<T>
static <T,
U> Map.Entry<T, U> static <T,
U> Map.Entry<T, U> static <T,
U> Map<T, U> static <T,
U> Map<T, U> static <T> Queue<T>
static <T> Queue<T>
static <T> Set<T>
static <T> Set<T>
static <T> NamingEnumeration<T>
cast
(NamingEnumeration<?> p)
-
Method Details
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-
cast
-