I am looking for a Range API in JDK8 which also exports some static utilities , but no luck uptill now. I am working on a interval scheduling algorithm which needs one.If not I will work to create a custom interface .
-
If it's not in the API documentation then it's not there.Jesper– Jesper2018-07-09 07:51:22 +00:00Commented Jul 9, 2018 at 7:51
-
It's not a perfect dupe. The question "is there one in the JDK" can be answered with a single word: 'No'. However, that questions lists most of the library solutions.Michael– Michael2018-07-09 07:54:01 +00:00Commented Jul 9, 2018 at 7:54
Add a comment
|
1 Answer
I not sure, perhaps Google Guava has what you need:
https://github.com/google/guava/wiki/RangesExplained
or perhaps Google can help ;)