Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java

subSet method not found and missing in Oracle documentation

Although the subSet method works in Craig's treehouse workspace, my workspace and command line code do not recognize it, even after importing relevant classes. I looked through Java SE 7, 8, 9, and 10 documentation and cannot seem to find subSet. It would make sense for subSet to be the counterpart to subList, so does anyone know how he got it to function?