Skip to content

Instantly share code, notes, and snippets.

@benjamn
Created May 1, 2009 17:42
Show Gist options
  • Save benjamn/105152 to your computer and use it in GitHub Desktop.
Save benjamn/105152 to your computer and use it in GitHub Desktop.
package org.bonetown.core;
import java.util.Iterator;
import org.bonetown.services.Bonetown;
abstract class Guy implements Iterator<Girl> {
private boolean bone(Girl g) {
if (g.toDouble() < 0.5)
return false;
synchronized {
return Bonetown.visit(this, g);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment