private static int yy_unpack(String packed,int offset,int[] trans){
  int i=0;
  int j=offset;
  int l=packed.length();
  while (i < l) {
    int count=packed.charAt(i++);
    int value=packed.charAt(i++);
    value--;
    do     trans[j++]=value;
 while (--count > 0);
  }
  return j;
}

private static int yy_unpack ( String packed , int offset , int [ ] trans ) { int i = 0 ; int j = offset ; int l = packed . length ( ) ; while ( i < l ) { int count = packed . charAt ( i ++ ) ; int value = packed . charAt ( i ++ ) ; value -- ; do trans [ j ++ ] = value ; while ( -- count > 0 ) ; } return j ; }
unpacks the compressed dfa transition table .
