Reactive collections as implemented in
are reactive adapters for Java collections.
Reactive collections wrap Java collections and turn them into reactive data source as long as all accesses are mediated by the wrapper.
Reactive collections will wake up dependent reactive computations whenever relevant write is made to the collection.
Get Hookless Collections from Maven Central:
<dependency> <groupId>com.machinezoo.hookless</groupId> <artifactId>hookless-collections</artifactId> <version>0.1.0</version> </dependency>
Or clone sources from GitHub or Bitbucket. Configure your build for Java 17+. Sources and binaries are distributed under Apache License 2.0.
If your project is a Java module,
add the following declaration to your
ReactiveCollections class in javadoc.
Since the javadoc is not complete yet, you might want to take a look at comments and implementation