public class TypeUtil<T> extends Object
Constructor and Description |
---|
TypeUtil() |
public static <T> T uncheckedCast(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 tricksCopyright © 2016. All rights reserved.