25 questions
3
votes
1
answer
141
views
Eclipse collection that is concurrent, has unique elements and atomic retrieval and removal [closed]
I wonder if there is a suitable data structure that has the following three characteristics:
The collection can be modified by multiple threads
Has unique elements in the collection
The collection ...
1
vote
0
answers
167
views
java.util.ConcurrentModificationException in Eclipse Collection framework maven install
I'm trying to build Eclipse collection framework locally but after cloning git repo and running mvn install -DskipTests=true I'm getting java.util.ConcurrentModificationException exception when maven ...
2
votes
1
answer
404
views
How to create nested groups using Eclipse Collection's Multimap?
I have read Map vs. Multimap with great interest. Multimaps are indeed a commonly used concept for which there's no standard JDK type.
As I am still exploring the Eclipse Collections library, I do ...
4
votes
2
answers
480
views
How to use Eclipse collection in Spring boot ResponseEnity in Java
So I need help in using java eclipse collections as part of the response using the spring boot Response Entity JSON . I have tried using the generic way but I get a response exception error that it ...
3
votes
1
answer
155
views
How convert/adapt ByteObjectHashMap to a JDK Map?
Primitive maps don't seem to implement java.util.Map.
If I have a function, accepting JDK Map as an argument and now want to pass eclipse collection implementation, for example ByteObjectHashMap, what'...
1
vote
1
answer
307
views
How to deserialise Eclipse Collections types?
I came across this library eclipse-collections and it fits my use case. But unfortunately, I am not able to deserialize it using either Gson or Jackson - the two most popular libraries for ...
1
vote
1
answer
180
views
Eclipse Collections, prepend immutable list
How to prepend (ideally O(1)) to an immutable List (of Eclipse Collections)
2
votes
2
answers
217
views
Eclipse Collections - Is there a containsAny() method for Sets?
I can't seem to find a containsAny() method for SetIterable types in Eclipse Collections. Is there one?
MutableSet<String> set1 = Sets.mutable.of("a", "b", "c");
...
2
votes
2
answers
438
views
IntelliJ Java Type Renderers for Eclipse Collections with primitives
I have found Eclipse Collections very useful. Especially collections for primitive types (for example: IntObjectHashMap).
Unfortunately there is a problem with rendering these collections in IntelliJ ...
1
vote
1
answer
976
views
Simple loop iteration over Eclipse Collections maps (for example: IntObjectHashMap)
Is there a way to use simple Java for-each loop over Eclipse Collections maps?
I am looking for something like this (but for Eclipse Collections maps):
for (Map.Entry<Integer, String> entry : ...
2
votes
1
answer
252
views
Map with soft values in Eclipse Collections
I am currently looking at consolidating to a single collections library in a project I'm involved in, and though I have little experience with it, I really like the look of Eclipse Collections.
One ...
2
votes
1
answer
608
views
Resources for understanding Fastutil internals
I'm looking for resources to understand how Java datatypes are implemented internally, and how libraries like Fastutil and Eclipse Collections provide faster implementations of the same. I tired ...
6
votes
1
answer
527
views
Integration Eclipse Collections with Spring Data JPA
is it possible integration eclipse collections with spring data jpa + hibernate?
for example:
import org.springframework.data.jpa.repository.JpaRepository;
import org.eclipse.collections.api.list....
8
votes
2
answers
438
views
Create an IntStream and a Stream<Integer> from an Eclipse Collections IntList/IntIterable
I have an Eclipse Collections IntList. How can I
Create a Java IntStream from this list
Create a Java Stream<Integer> from this list
without copying the elements?
1
vote
1
answer
101
views
How can i make linked CharBag (Eclipse Collections)?
I know about CharBag bag = CharAdapter.adapt("hello world!").toBag();it's nice, but it's not linked.
I need bag with linked input string and how can i get keys and values from this collection to make ...