JAVA tutorial Java Generics Java generics is a powerful feature introduced in JDK 5.0 that was directed towards improving the quality of code through abstraction. It aims to improve code reusability by providing a mechanism to write classes and functions in such a way that types can be passed as parameters. Written by Pratyush Jagaty October 10, 2020October 12, 2020 Saving Bookmark this article Bookmarked
tutorial How to parse Google Search result in Java? Tutorial with example code on how to parse Search Results from Google using JAVA and Jsoup. Written by shashank October 5, 2020October 6, 2020 Saving Bookmark this article Bookmarked
tutorial The Command Design Pattern The command design pattern is a behavioral design pattern. This pattern focuses on encapsulating all the data and related actions of an object. This design pattern allows separating the objects that produce the behavior and the objects that consume them. Written by Pratyush Jagaty September 27, 2020October 6, 2020 Saving Bookmark this article Bookmarked
Design Patterns tutorial Lambdas, Anonymous Inner Classes and When to Prefer What First things First, Why should I really care about Lambdas?: Written by Pratyush Jagaty August 9, 2020October 6, 2020 Saving Bookmark this article Bookmarked
JAVA tutorial Java Hashmap The Java hashmap is a widely used data structure! Won't it be awesome if you knew how it actually works behind the scenes? Written by Pratyush Jagaty August 9, 2020October 6, 2020 Saving Bookmark this article Bookmarked
JAVA tutorial Singletons in Java So what is a singleton? In a simpleton’s language, a singleton is a class that will be instantiated only once. This essentially means that there will be only one instance of the Java class in the Java Virtual Machine (JVM). The singleton was initially proposed by the famous Gang of Four in their design patterns. […] Written by Pratyush Jagaty July 25, 2020October 6, 2020 Saving Bookmark this article Bookmarked
JAVA tutorial The simplest way to sort HapMap in JAVA The way JAVA data-structures is it is not always easy to sort HashMaps. So here is a piece of code I frequently use to sort HashMap of type String, Long in JAVA Written by shashank July 24, 2020October 6, 2020 Saving Bookmark this article Bookmarked
AWS tutorial Batch load objects using AWS dynamoDBMapper in JAVA DynamoDbMapper is an amazing class to abstract out a lot of operations for AWS DynamoDb. But this library is not well documented. Here is an example of how to batchLoad objects using dynamoDBMapper in JAVA Written by shashank July 24, 2020October 6, 2020 Saving Bookmark this article Bookmarked
Design Patterns JAVA tutorial Consider static factory methods instead of constructors when creating objects What is the most common way to create an object of a class? Yeah, you probably guessed it right! By using a constructor. But is it always the best way? We’ll find out here! Written by Pratyush Jagaty July 19, 2020October 6, 2020 Saving Bookmark this article Bookmarked
JAVA tutorial Uploading docs in ElasticSearch using Java with async for super-fast processing with examples Fastest was to upload a lot of documents to "ElasticSearch" using JAVA. Wit code examples and tutorials. Written by shashank July 18, 2020October 6, 2020 Saving Bookmark this article Bookmarked
How to parse Google Search result in Java? Tutorial with example code on how to parse Search Results from Google using JAVA and Jsoup. Written by shashank October 5, 2020October 6, 2020 Saving Bookmark this article Bookmarked
The Command Design Pattern The command design pattern is a behavioral design pattern. This pattern focuses on encapsulating all the data and related actions of an object. This design pattern allows separating the objects that produce the behavior and the objects that consume them. Written by Pratyush Jagaty September 27, 2020October 6, 2020 Saving Bookmark this article Bookmarked
Visitor Design Pattern The Visitor Design Pattern is a behavioral design pattern. It comes in handy when we have to add a capability to an object with minimal change to the existing object structure. Come, let's dive in! Written by Pratyush Jagaty January 1, 2021January 2, 2021 Saving Bookmark this article Bookmarked
Full Text Search in PostgreSQL What is wrong with the good old SQL searches? There is no support for common languages. Regular expressions do not suffice because they cannot easily handle words that essentially mean the same, i.e., blocked and blocking is one such example. You might miss documents that contain blocked, although you probably would like to find them […] Written by Pratyush Jagaty December 6, 2020December 6, 2020 Saving Bookmark this article Bookmarked
Binary Search Introduction: Binary search is one of the most important algorithms for competitive programming. You may find other uses of binary search too, these are just a few topics mentioned that use binary search heavily: 1. Array problems 2. Geometry problems Let me give you a real-life example, imagine you walked into a room with some […] Written by Pratyush Jagaty November 22, 2020November 22, 2020 Saving Bookmark this article Bookmarked
Java Generics Java generics is a powerful feature introduced in JDK 5.0 that was directed towards improving the quality of code through abstraction. It aims to improve code reusability by providing a mechanism to write classes and functions in such a way that types can be passed as parameters. Written by Pratyush Jagaty October 10, 2020October 12, 2020 Saving Bookmark this article Bookmarked