<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>81454</integer>
    </number>
    <user>
      <string>[bjoern]</string>
    </user>
    <title>
      <string>Java reference code in algorithms lecture</string>
    </title>
    <contents>
      <string>    public static void computeFailValues(int fi, int pi){
	if (fi &lt; pattern.length()){
	    if (pattern.charAt(pi) == pattern.charAt(fi)){
		fail[fi] = pi + 1;
		computeFailValues(fi + 1, pi + 1);
	    }
	    else if (pi &gt; 0)
		computeFailValues(fi, fail[pi - 1]);
	    
	    else {fail[fi] = 0;	    
	    computeFailValues(fi + 1, pi);
	    }
	}	

    }
</string>
    </contents>
    <universal-time>
      <integer>3453291091</integer>
    </universal-time>
    <channel>
      <string>#swhack</string>
    </channel>
    <colorization-mode>
      <string>None</string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
    <deletion-requested>
      <null/>
    </deletion-requested>
    <deletion-requested-email>
      <null/>
    </deletion-requested-email>
    <expiration-time>
      <null/>
    </expiration-time>
  </paste>
</paste-with-annotations>
