• Home
  • Contact
  • Please wait...

Java Streams: How to Convert a List Into a Sorted Map

Good for categorizing complex objects.

Java: How to Convert a List to a Map

Same data. Different look.

Java: How to Sort a Map

Get your affairs in order.

Java: How to Get a Map's Value From Its Key

Sometimes you need to do things backwards.

Java: How to Convert Properties to a Map

Because Maps give you more flexibility.

Spring Boot: Create a Map With Case-Insensitive Keys Using LinkedCaseInsensitiveMap

The name of that class gives away the game, no?

Java Streams: How to Filter a Map to Get Just the Data You're Looking For

Because sometimes you don't want everything in a Map.

Java Streams: Combine 2 Streams With concat()

It's easy to combine two Streams.

Spring Boot and Jackson: Serialize Maps Like Top-Level Properties With @JsonAnyGetter

It's a nice hack if you don't want to code a bunch of getters and setters.

Spring Boot and Jackson: Deserialize Unmapped Properties to a Map with @JsonAnySetter

You can add a "catch all" when using Jackson to deserialize JSON objects.
12 »
Home
Cookies Policy
Terms of Service
Privacy Policy