cocoyam
is a collection of java utility libraries.
It is not intended to compete with existing major libraries such as Apache Commons and Google Guava; there is no need to "re-invent the wheel" by implementing existing functionality.
The cocoyam
project is concerned with implementing functionality that is not present in or cannot be readily achieved with existing major java libraries. This is done regardless of the complexity of implementation and regardless of level of utility provided by such functionality. If you've thought about it and it would make your life easier, someone else could make use of it.
-
Indexed Set. This java.util.set implementation indexes items placed in it by attribute, and in turn this index can be used to retrieve items from the set.
-
JsonUtil. This provides a method to create a javax.json.JsonValue out of any java Object. java.util.Maps are represented as Json objects while java.lang.Iterables and java arrays are represented as json arrays. Contents of these these structures are recursively evaluated.
To build cocoyam
change to the directory where this project is cloned and run:
./gradlew clean build
If you have ideas of functionality to add to the project that meet the guidelines stated in the Description above, please have a look at the contributing page.
This project uses the MIT License.