AI2 Component  (Version nb184)
com.google.appinventor.components.runtime.util.TypeUtil Class Reference

Static Public Member Functions

static< T > T cast (Object o, Class< T > tClass, String expected)
 
static< T > T castNotNull (Object o, Class< T > tClass, String expected)
 

Detailed Description

Definition at line 10 of file TypeUtil.java.

Member Function Documentation

◆ cast()

static <T> T com.google.appinventor.components.runtime.util.TypeUtil.cast ( Object  o,
Class< T >  tClass,
String  expected 
)
static

Definition at line 14 of file TypeUtil.java.

◆ castNotNull()

static <T> T com.google.appinventor.components.runtime.util.TypeUtil.castNotNull ( Object  o,
Class< T >  tClass,
String  expected 
)
static

Definition at line 24 of file TypeUtil.java.


The documentation for this class was generated from the following file: