Class YCollectionType


  • public class YCollectionType
    extends YType
    • Method Detail

      • validate

        public void validate()
        Description copied from class: YNameSpaceElement
        Validates the element. This should check whether or not lazy references can be resolved or any data is missing.
        Overrides:
        validate in class YType
      • getElementTypeCode

        public java.lang.String getElementTypeCode()
      • getElementType

        public YType getElementType()
      • getJavaClassName

        public java.lang.String getJavaClassName()
        Specified by:
        getJavaClassName in class YType
      • isAssignableFrom

        public boolean isAssignableFrom​(YType type)
        Tests whether this collection type is assignable from another collection type. This is only true if this type's element type is assignable from the other collection type's element type and the type of collections are assignable.
        Specified by:
        isAssignableFrom in class YType
      • equals

        public boolean equals​(java.lang.Object type)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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