Package org.kiwiproject.base
Class KiwiCasts
java.lang.Object
org.kiwiproject.base.KiwiCasts
Utility class providing type casting operations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TuncheckedCast(Object object) Performs an unchecked cast of the given object to the specified type.
-
Method Details
-
uncheckedCast
Performs an unchecked cast of the given object to the specified type.- Type Parameters:
T- the type to cast to- Parameters:
object- the object to cast- Returns:
- the object cast to the specified type
-