Press "Enter" to skip to content

Category: Vavr

The Curious Case of Enum and Map Serialization

One of Vavr’s users hit a peculiar bug recently: a serialized map containing enum keys, deserialized in another process, appeared to hold the right entries but the map… just could not find them.

The root cause turns out to be a subtle property of Java enums that most Java developers are not aware of.

Leave a Comment

Hamming Error Correction with Java and Vavr – part 3

Since there was some interest in seeing the same implemented in Java, in this article, we’ll see how we can implement the same Hamming encoder/decoder using Java and the Vavr library.

Previous articles from the series:

Hamming Error Correction with Kotlin – part 1

Hamming Error Correction with Kotlin – part 2

Leave a Comment