GarbageDisposal is a Java library for synchronizing Collections with a backend service, preserving the Identity Hashcode of the original entries.
This library uses the decorator pattern to decorate an object, wrapping the specified callback in a RunnableCloseable.
TODO: This will come soon.
This project is in the process of being released on Maven Central, when this is complete this artifact will be available and this section will be updated with the Maven Coordinates.
If you would like to start using this library in your Maven projects, please add the following to your pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<!-- https://jitpack.io/#wodencafe/CollectionSynchronizer -->
<dependency>
<groupId>com.github.wodencafe</groupId>
<artifactId>CollectionSynchronizer</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
If you would like to start using this library in your Gradle projects, please add the following to your build.gradle:
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
// https://jitpack.io/#wodencafe/CollectionSynchronizer
compile 'com.github.wodencafe:CollectionSynchronizer:master-SNAPSHOT'
}
For customizing and playing with the source for yourself, please see the Grab the source section.
To grab a copy of this code for yourself, please run the following commands in your workspace or a directory of your choosing:
git clone https://github.com/wodencafe/CollectionSynchronizer
cd CollectionSynchronizer
./gradlew build
This will build the jar in:
./build/libs/CollectionSynchronizer.jar
You can then reference this jar for your own projects.
- Gradle - Dependency Management and Build System.
- JitPack.io - Easy to use package repository for Git.
- Guava - A useful a set of core libraries for Java, developed by Google.
- SLF4J - A simple facade or abstraction for various logging frameworks.
- JUnit (Unit Testing) - The de facto unit testing framework for Java.
- Awaitility (Unit Testing) - A small Java DSL for synchronizing asynchronous operations.
This project is licensed under the BSD-3 License - see the LICENSE.md file for details