Overview of the Set interface in Java
An introduction to the Set interface in Java
An introduction to the Set interface in Java
Overview A priority queue is an interesting data structure in Java. The key term here is “priority”. That means the queue is ordered by priority of the elements, not the order they are added. Let’s consider an example: When that function is run, the output is: As you can see, the order of elements in … Read more
Overview In this post, we are going to learn about Deque in Java (pronounced deck) and its implementation. It may surprise you to see LinkedList is a queue. LinkedList is a queue and also a list. That means it has all the characteristics of a List and also a Deque. What is a Deque in … Read more
An overview of the queue interface in java
In this tutorial, I’m going to create a simple WebSocket server with Java EE that I can use Javascript Websocket API to connect and send/receive messages. I’m going to use Eclipse as the IDE. You can try with another IDE/text editor. However, I would recommend you use Eclipse since I didn’t have much luck with … Read more
Recently, I upgraded Elasticsearch from 7.15.2 to 8.0.1. The setup was quick and simple. However, when making a request to save an entity to the database and in turn make an update to elastic, I got this error. The error message is long, however, the main message is this: “unable to parse response body for … Read more