public String toStringForQuestState(){
  final StringBuilder sb=new StringBuilder();
  boolean first=true;
  for (  final Map.Entry<String,Integer> e : entrySet()) {
    if (first) {
      first=false;
    }
 else {
      sb.append(';');
    }
    sb.append(e.getKey());
    sb.append("=");
    sb.append(e.getValue());
  }
  return sb.toString();
}

public String toStringForQuestState ( ) { final StringBuilder sb = new StringBuilder ( ) ; boolean first = true ; for ( final Map . Entry < String , Integer > e : entrySet ( ) ) { if ( first ) { first = false ; } else { sb . append ( ';' ) ; } sb . append ( e . getKey ( ) ) ; sb . append ( "=" ) ; sb . append ( e . getValue ( ) ) ; } return sb . toString ( ) ; }
return the items as quest state string .
