コード例 #1
0
 void refresh(ExternalClassDescription externalClassDescription) {
   // set the type first, since allowable dimensions is determined by type
   this.setType(this.typeNamed(externalClassDescription.getElementTypeName()));
   this.setDimensionality(externalClassDescription.getArrayDepth());
 }
コード例 #2
0
 boolean hasSameSignatureAs(ExternalClassDescription externalClassDescription) {
   return (this.dimensionality == externalClassDescription.getArrayDepth())
       && (this.getType() == this.typeNamed(externalClassDescription.getElementTypeName()));
 }