/** @return the length of this data array if this data type is an array, else returns 0 */
 public int getArrayLength() {
   checkIsArray();
   return arrayLen;
 }
 private final void checkArray(PrimitiveOrString getType) {
   checkIsArray();
   checkType(getType);
 }