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
There are times when you need to build docker images inside Jenkins. Well, actually that is a common practice nowadays. However, without setting up the docker client properly, you might now be able to do so. When running Jenkins without docker client, you may encounter errors like this: This post’s only purpose is to help … Read more
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