guava-rangeset
Guide to Guava RangeSet 1. Overview In this tutorial, we’ll show how to use the Google Guava’s RangeSet interface and its implementations. A RangeSet is a set comprising of zero or more non-empty, disconnected ranges. When adding a range to a mutable RangeSet, any connected ranges are merged together while… Continue Reading guava-rangeset