Comments (9)
from mug.
from mug.
Fantastic, thanks for the update - I'm on holiday currently but when I'm back I'll test it out!
from mug.
Seems to be working fine, currently struggling with trying to make my own BiCollectors beyond just toMap but pretty sure that's more my own lack of understanding! Thanks for this :)
from mug.
from mug.
Yes, my problem is with the Maps from Trove (e.g. TIntObjectHashMap) and BSON (BasicBSONObject, which is a Map<String, Object>) - they don't come with a Collector method to use. I'm sure I'll figure it out though I just need to find some time to look into it in proper detail!
from mug.
from mug.
Brilliant, that's exactly what I've been trying to achieve and is easily adaptable to the BasicBSONObject case as well - thanks very much!
from mug.
from mug.
Related Issues (19)
- Consider making the tests follow JUnit 5 idioms more closely HOT 5
- Problem with Java 8 compilation HOT 1
- Publish a new release with Java 8 support to maven central.
- The type of toImmutableListMultimap(Function<? super E,? extends Object>, Function<? super E,? extends Object>) from the type ImmutableListMultimap is Collector<E,?,ImmutableListMultimap<Object,Object>>, this is incompatible with the descriptor's return type: Collector<E,?,Object> HOT 2
- There is a vulnerability inGuava: Google Core Libraries for Java 29.0-jre,upgrade recommended HOT 4
- [Docs] Possible outdated documentation
- Why limit the chunk size? HOT 3
- Broken links HOT 1
- Provide OSGi Metadata HOT 2
- javadoc link not found HOT 2
- Type Mismatch Errors in Maybe.java Class of com.google.mu.util Package HOT 1
- StringFormat is great. But it's not type safe if the StringFormat is defined far away. HOT 3
- Consider deprecating `StringFormat.strict()` HOT 1
- BiStream equivalent to Stream.findFirst()? HOT 2
- RocksDB with BiStream HOT 2
- Add reproduciable builds
- What is the canonical way to parallelStream over a map? HOT 1
- BiStream.sortedBy[Values,Keys] gives unexpected output HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mug.