public class GenericUtils extends Object
Constructor and Description |
---|
GenericUtils() |
Modifier and Type | Method and Description |
---|---|
static Type |
getCollectionComponentType(Type collectionType)
Get the component type of a Collection.
|
static Type |
getMapKeyType(Type mapType)
Get the key type of a Map.
|
static Type |
getMapValueType(Type mapType)
Get the value type of a Map.
|
Copyright © 2016. All rights reserved.