Two-colored range is data structure that efficiently stores and modifies data of a range where each point is colored in one of two possible colors. This project contains mutable and immutable two-colored range interfaces and an implementation based on ArrayList.
While being a part of Kotlin Multiplatform project, the entire codebase of two-colored range is written in Kotlin Common and could be used on any supported platform. Currently the project provides artifacts for JVM, JS and MacOSX64 platforms. You can use Maven Repository to locate artifact for required platform and find installation instructions.
The library is developed by following test-driven development principles, it is covered with tests and documentation by 100%. You can find example of using the library at two-colored-range-visualizer. Documentation, reports and example are available online using links: