code: @Override
      protected void parseStateVector(StreamTokenizer streamTokenizer) throws FSMParseException, IOException {
          Boolean accepting = null;
          for (int i = 0;
               i <= acceptIndex && streamTokenizer.nextToken() == StreamTokenizer.TT_WORD && accepting == null;
               i++) {
              final String value = streamTokenizer.sval;
              if (i == acceptIndex) {
                  try {
                      accepting = acceptValue == Integer.parseInt(value);
                  } catch (NumberFormatException nfe) {
                      throw new FSMParseException(nfe, streamTokenizer);
                  }
              }
          }
          if (accepting == null) {
              throw new FSMParseException(String.format(ACCEPT_INDEX_NOT_FOUND, acceptIndex), streamTokenizer);
          } else {
              states.put(getPartLineNumber(), accepting);
          }
      }
docs: Parse a state vector.
  <p>
  This method will only search for whether the state is accepting or not. The state index will be equal to the
  current {@link #getPartLineNumber()}.
  
  @throws FSMParseException
  when the current line is an illegal state vector.
  @throws IOException
  see {@link StreamTokenizer#nextToken()}.