Class Type


  • public class Type
    extends java.lang.Object
    Since:
    1.0
    Version:
    $Id$
    Author:
    Dain Sundstrom
    • Method Detail

      • newSimpleType

        public static Type newSimpleType​(java.lang.String name)
      • newArrayType

        public static Type newArrayType​(java.lang.String type,
                                        int dimensions)
      • newCollectionType

        public static Type newCollectionType​(java.lang.String collectionType,
                                             Type elementType)
      • getName

        public java.lang.String getName()
      • getNestedType

        public Type getNestedType()
      • isCollection

        public boolean isCollection()
      • isPrimitive

        public boolean isPrimitive()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object