SaaSHub helps you find the best software and product alternatives Learn more →
Top 12 immutable-collection Open-Source Projects
-
Javaslang
vʌvr (formerly called Javaslang) is a non-commercial, non-profit object-functional library that runs with Java 8+. It aims to reduce the lines of code and increase code quality.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Immutables
Annotation processor to create immutable objects and builders. Feels like Guava's immutable collections but for regular value objects. JSON, Jackson, Gson, JAX-RS integrations included
-
Eclipse Collections
Eclipse Collections is a collections framework for Java with optimized data structures and a rich, functional and fluent API.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
You probably noticed that .SetName() returns a Either. You may have come across Unit in libraries like MediatR or Language-Ext. It's a simple construct representing a type with only one possible value. We use it as a placeholder for operations that do not return a value but may return another state. In our example, .SetName() is a Command that does not return a value but may fail. Therefore, the monad Either carries two possible states: Right (without value) or Left (with an Error).
Project mention: Unchecked Java: Say Goodbye to Checked Exceptions Forever | news.ycombinator.com | 2023-07-13This is every Lombok lover's favorite strawman argument I've run into.
I've been coding in Java professionally for ~20 years. I can count with zero hands the number of times I've been burned by a getter or setter getting changed into something surprising.
If you really need auto-generated getters/setters/builders - Immutables [1] is a library that does it using bog standard annotation processing rules that don't require hacking your build process.
[1] https://github.com/immutables/immutables
eclipse-collections for Java.
Project mention: Is there a way to atomically add to a list and return its index? | /r/Kotlin | 2023-12-08In Clojure, it is called an Atom. I created my own via AtomicReference and https://github.com/Kotlin/kotlinx.collections.immutable. It works really well in Kotlin. It works especially well if you use tons of coroutines.
immutable-collections related posts
-
Is there a way to atomically add to a list and return its index?
-
Immutable lists, O(1) prepend/append
-
What type of variable contains amutable list?
-
what is the best persistent collection library?
-
Finally, the kotlin API and External Cache are supported, and my ORM is finished.
-
Limu, a Fast Immutable Lib
-
A benchmark to show you how fast my ORM framework is
-
A note from our sponsor - SaaSHub
www.saashub.com | 2 May 2024
Index
What are some of the best open-source immutable-collection projects? This list will help you:
Project | Stars | |
---|---|---|
1 | language-ext | 6,176 |
2 | Javaslang | 5,534 |
3 | Immutables | 3,368 |
4 | Eclipse Collections | 2,356 |
5 | kotlinx.collections.immutable | 1,087 |
6 | jimmer | 630 |
7 | Paguro | 307 |
8 | immutable | 200 |
9 | pfun | 146 |
10 | purefun | 105 |
11 | fsharp-hashcollections | 56 |
12 | java-immutable-collections | 41 |
Sponsored