09 Aug 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? ...
The Java hashmap is a widely used data structure! Won't it be awesome if you knew how it actually works behind the scenes? ...
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...
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...
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 ...
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! ...
Fastest was to upload a lot of documents to "ElasticSearch" using JAVA. Wit code examples and tutorials. ...
Multi-threading is not always super easy to implement. There is Runnable, Thread and all sort of frameworks/packages but we love the executors class to run our code in threads. ...
Understanding SQL and NoSQL databases...
Wordpress has an amazing REST API that lets you do pretty much anything that you would need. You can add users, add articles, create tags, create categories etc. ...