eclipse-collections
eclipse-collections copied to clipboard
Eclipse Collections is a collections framework for Java with optimized data structures and a rich, functional and fluent API.
Today, the generated code for lazy int returns the following, which will overflow silently for large sums. ``` private static final class IntSumProcedure implements IntProcedure { private int sum =...
_Eclipse Collections_, likely to support older Java versions, is not yet employing Java's module system. Therefore, an _automatic module_ is created by the system, which will work just fine for...
Provided example for creating bags using different ways and also provided example of using different set of methods available inside it. #1387
Hi, going through the source code I found ```ConcurrentHashMap```. I have been using this library for months and I didn't know you have concurrent containers. I see you even have...
If you remove key 0 (int; aka EMPTY_KEY) in `forEachKeyValue` - you will enjoy `NullPointerException` ```java @Test public void testBugRemoveNPE (){ try { var m = IntObjectMaps.mutable.of(0, 'a'); m.forEachKeyValue((k,v)->m.removeKey(k)); fail();...
We're developing an application on an OSGi runtime. It is part of a bigger product which uses a Maven build. In order to improve consistency and maintainability, we set up...
It seems like issue #500 has not been resolved yet. The default `Map#computeIfPresent` has not been overridden and delegated to other Eclipse Collection methods. I wanted to get started on...
Something that came up in https://github.com/eclipse/eclipse-collections/issues/1393 is that when we create new immutable collections, some of them rely internally on the mutable implementation and thus can contain datastructure that are...
Add, on top of of `Map.putIfAbsent(K, V)`, a new method `MutableMapIterable.putIfAbsent(K, Function0)`. The use case is to both: - not instantiate the value if not needed (as with `MutableMapIterable.getIfAbsentPut(K, Function0)`)...