return (MPTask) stuff.iterator().next ();
if (stuff.iterator().hasNext()) return (MPTask) stuff.iterator().next (); else return null;
  protected MPTask getMPTask (final UID parentUID) {    Collection stuff = blackboard.query (new UnaryPredicate () {	public boolean execute (Object obj) {	  boolean isMPTask = (obj instanceof MPTask);	  if (!isMPTask) return false;	  boolean match = ((MPTask) obj).getUID ().toString().equals (parentUID.toString());	  /*	  debug (getName () + ".getMPTask - Comparing uid " +			      ((MPTask) obj).getUID ().toString() + " with key " + parentUID + 			      ((match) ? " MATCH! " : " no match"));	  */	  return match;	}      });    return (MPTask) stuff.iterator().next ();  }