added iterable lengths in JavaDoc