Kala Common
This is a powerful set of Java core libraries that provide a series of easy-to-use abstractions and collections. If you have used Scala, it should be easy for you to get started with this collection library.
[!NOTE] This library is not production ready. When JEP 218 (Generics over Primitive Types) and JEP 401 (Value Classes and Objects) were delivered, we needed to redesign many APIs. (See #76 for more details)
Until Kala Common is production-ready, we do not recommend that you use this library for production.
Add Kala Common to your project
Maven:
<dependency>
<groupId>org.glavo.kala</groupId>
<artifactId>kala-common</artifactId>
<version>0.82.0</version>
</dependency>
Gradle:
implementation("org.glavo.kala:kala-common:0.82.0")
Learn about Kala Common
Who is using Kala Common?
Although Kala Common is not yet production-ready, we are already using it in Aya Language.
We welcome others to try Kala Common for experimental purposes.
Note
The last version compatible with Java 8 was 0.70.0; The last version compatible with Java 21 was 0.82.0.
Building and running kala common now require Java 24.
Donate
If you like this library, donating to me is my greatest support!
Due to payment method restrictions, donations are currently only supported through payment channels in Chinese mainland (微信,支付宝,爱发电等).
Here are the ways to donate: 捐赠支持 Glavo
License
Most Java code is released under the Apache 2.0 license.
The following classes are copied from pcollections, which are distributed under the MIT license:
kala.collection.internal.tree.IntTreekala.collection.internal.tree.KVTree
This README file and all docs is released under the CC BY-SA 4.0 license.
Especially thanks
Thanks to PLCT Lab for supporting me.
This project is developed using JetBrains IDEA. Thanks to JetBrains for providing me with a free license, which is a strong support for me.