Random developerType erasure in Java — GenericsWith the introduction of Generics in Java, to make things backward compatible (meaning the old versions that do not have generics work…6d ago6d ago
Random developerObjectMapper in JavaIn enterprise Java applications, you often need to handle JSON data in various ways, such as:Jun 16Jun 16
Random developerVisitor pattern in Java with sum typesAs per the popular definition, the Visitor patternJun 10Jun 10
Random developerJsonTypeInfo and JsonSubTypes in JacksonTo serialize and deserialize polymorphic objects (objects with subclasses), we need to recognise which particular subclass an object…Jun 2Jun 2
Random developerExecutor Service In JavaLet’s say you have multiple CPU-intensive operations to perform in parallel. You don’t want to wait for each operation’s response; instead…May 19May 19
Random developerIndexing with MariaDBIn a world without indexes, imagine you have the following table named "student" in your database:May 12May 12
Random developerClassifiers in mavenThe classifier, by definition, “distinguishes artifacts that were built from the same POM but differ in content. It is an optional and…Apr 28Apr 28
Random developerMap and flatmap in JavaThe concept of mapping in programming, as the name implies, involves transforming values from one format to another. Suppose you have a…Apr 15Apr 15
Random developerSealed Classes: Restricting InheritanceSealed classes, in general, allow restricted inheritance. You may ask, why is it needed? Consider the following example: let’s say you are…Apr 9Apr 9