Casts the given obj to T or returns default if the cast fails.
Casts the given obj to T or returns the default if the cast fails.
Casts the given obj to T or throws a TypeCastException if the cast fails.
Casts the given obj to T or returns null if the cast fails.
Casts the given obj to T and triggers the block if successful.