code: public int getIndex(final String _inputName)
      {
          Integer ret = 0;
          if (this.indexes.containsKey(_inputName)) {
              ret = this.indexes.get(_inputName) + 1;
          }
          this.indexes.put(_inputName, ret);
          return ret;
      }
docs: Gets the index.
  
  @param _inputName the _input name
  @return the index