Class KiwiCasts

java.lang.Object
org.kiwiproject.base.KiwiCasts

public final class KiwiCasts extends Object
Utility class providing type casting operations.
  • Method Details

    • uncheckedCast

      public static <T> T uncheckedCast(Object object)
      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