org.jgrapht.util
public class TypeUtil<T> extends java.lang.Object
| Constructor and Description |
|---|
TypeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
uncheckedCast(java.lang.Object o,
TypeUtil<T> typeDecl)
Casts an object to a type.
|
public static <T> T uncheckedCast(java.lang.Object o,
TypeUtil<T> typeDecl)
o - object to be casttypeDecl - conveys the target type information; the actual value is
unused and can be null since this is all just stupid compiler tricks