Package ball.util

Class Converter

    • Method Detail

      • convertTo

        public static Object convertTo​(Object from,
                                       Class<?> type)
        Static method to convert the argument to the specified type (Class).
        Parameters:
        from - The source value.
        type - The target type (Class).
        Returns:
        The converted value.