Class GenericUtils


  • public class GenericUtils
    extends Object
    • Method Detail

      • getCollectionComponentType

        public static Type getCollectionComponentType​(Type collectionType)
        Get the component type of a Collection.
      • getMapKeyType

        public static Type getMapKeyType​(Type mapType)
        Get the key type of a Map.
      • getMapValueType

        public static Type getMapValueType​(Type mapType)
        Get the value type of a Map.