## withIndicies() in java