lots of exercises in java... from https://github.com/exercism/java

CollatzCalculator.java 183B

12345678
  1. class CollatzCalculator {
  2. int computeStepCount(int start) {
  3. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  4. }
  5. }