Interface State

    • Method Detail

      • as

        default <T extends @Nullable State> @Nullable T as​(@Nullable Class<T> target)
        Convert this State's value into another type
        Parameters:
        target - the desired State type
        Returns:
        the State's value in the given type's representation, or null if the conversion was not possible