// the class actually searching the needle in the haystackpublic class StartSeach implements Node<ParallelPipe, Haystack> {
public NodeResult execute(ParallelPipe pipe, HayStack haystacks){
// let's find the needle
return pipe.join(HaystackSearched.class, needleFound);
}
}
Any feedback is highly appreciated!
Cheers,
Vladimir