Blog: farenda (Java Programming Examples) |
240 blogs
updated: 78 min. ago
|
||
In Java 8 Date and Time went another remodeling resulting in much better API and concepts better reflecting developer's needs. Here we'll go...
|
||
Did you ever need to configure Maven dependency to local JAR? It's rarely needed, but when it is, it's good to know how to do that correctly...
|
||
One of the simplest cryptographic algorithms is Caesar cipher. It's not really secure, but sometimes you may encounter it in some exercises ...
|
||
Recently I've rediscovered Class.cast(object) that can be used to cast objects to a type. In Java 8 streams the method allows to do a nice J...
|
||
In this post we'll show a practical example of processing tree-like structure using streams and Java 8 flatMap. As a tree-like structure let...
|
||
As many other algorithms in Linked List remove element from given position runs in linear time. Here we are going to implement it to better ...
|
||
In this post we'll implement another algorithm for Linked List insert element at position. The algorithm works in linear time in the worst c...
|
||
Linked List is a simple data structure. Implementing it from scratch helps to understand its properties. We'll implement Linked List add, si...
|
||
There are many ways to create Java Streams and for each of them we'll show examples. This flexibility is needed especially when combined wit...
|
||
One of the best known algorithms to detect a cycle in a linked list is Floyd Cycle detection. Using Floyd's algorithm we can detect cycle, i...
|
||
Made better & faster using https://www.yourkit.com/ Java Profiler