org.seasar.framework.util.tiger
クラス GenericUtil

java.lang.Object
  上位を拡張 org.seasar.framework.util.tiger.GenericUtil

public class GenericUtil
extends Object

作成者:
koichik

コンストラクタの概要
GenericUtil()
           
 
メソッドの概要
static Type getElementTypeOfArray(Type type)
           
static Type getElementTypeOfList(Type type)
           
static Type getElementTypeOfSet(Type type)
           
static Type[] getGenericParameter(Type type)
           
static Type getGenericParameter(Type type, int index)
           
static Type getKeyTypeOfMap(Type type)
           
static Class<?> getRawClass(Type type)
           
static Type getValueTypeOfMap(Type type)
           
static boolean isTypeOf(Type type, Class<?> clazz)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GenericUtil

public GenericUtil()
メソッドの詳細

isTypeOf

public static boolean isTypeOf(Type type,
                               Class<?> clazz)

getRawClass

public static Class<?> getRawClass(Type type)

getGenericParameter

public static Type[] getGenericParameter(Type type)

getGenericParameter

public static Type getGenericParameter(Type type,
                                       int index)

getElementTypeOfArray

public static Type getElementTypeOfArray(Type type)

getElementTypeOfList

public static Type getElementTypeOfList(Type type)

getElementTypeOfSet

public static Type getElementTypeOfSet(Type type)

getKeyTypeOfMap

public static Type getKeyTypeOfMap(Type type)

getValueTypeOfMap

public static Type getValueTypeOfMap(Type type)


Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.