Updated javadoc to reflect the real purpose of defining a stop strategy.
Updated the method signature to reflect actual behaviour and added tests for the same.
Did javadoc generation failed ? If yes, this may fix it.
Did javadoc generation failed ? If yes, this may fix it.
Warning free build on java-8. Corrected javadoc.
Merge pull request #11 from shasts/cleanup/javadoc-correction

Cleanup/javadoc correction