Skip to content

Yet another programming solutions log

Sample bits from programming for the future generations.

Technologies Technologies
  • Algorithms and Data Structures
  • Java Tutorials
  • JUnit Tutorial
  • MongoDB Tutorial
  • Quartz Scheduler Tutorial
  • Spock Framework Tutorial
  • Spring Framework
  • Bash Tutorial
  • Clojure Tutorial
  • Design Patterns
  • Developer’s Tools
  • Productivity
  • About
Expand Search Form

Java 8 Date Time concepts

farenda 2017-10-02 0

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 through Java 8 new Date and Time concepts.

Share with the World!
Continue reading Java 8 Date Time concepts
Categories Java Tags java, java-time

Maven dependency to local JAR

farenda 2017-08-03 0

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.

Share with the World!
Continue reading Maven dependency to local JAR
Categories Dev Tools Tags algorithms, java, maven

Caesar cipher in Java

farenda 2017-07-21 0

One of the simplest cryptographic algorithms is Caesar cipher. It’s not really secure, but sometimes you may encounter it in some exercises or crackmes.

Share with the World!
Continue reading Caesar cipher in Java
Categories Algorithms Tags algorithms, string-algorithms

Java casting trick

farenda 2017-07-02 0

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 Java casting trick.

Share with the World!
Continue reading Java casting trick
Categories Java Tags java, java-basics, java8

Java 8 flatMap practical example

farenda 2017-06-18 0

In this post we’ll show a practical example of processing tree-like structure using streams and Java 8 flatMap.

Share with the World!
Continue reading Java 8 flatMap practical example
Categories Java Tags java, java-util, java8

Linked List – remove element

farenda 2017-06-15 0

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 understand how it works.

Share with the World!
Continue reading Linked List – remove element
Categories Algorithms Tags algorithms, java, lists

Linked List – insert element at position

farenda 2017-06-10 0

In this post we’ll implement another algorithm for Linked List – insert element at position. The algorithm works in linear time in the worst case.

Share with the World!
Continue reading Linked List – insert element at position
Categories Algorithms Tags algorithms, java, lists

Linked List add element at the end

farenda 2017-05-28 0

Linked List is a simple data structure. Implementing it from scratch helps to understand its properties. We’ll implement Linked List add, size, and print its contents.

Share with the World!
Continue reading Linked List add element at the end
Categories Algorithms Tags algorithms, java, lists

Create Java Streams

farenda 2017-05-21 0

There are many ways to create Java Streams and for each of them we’ll show examples. This flexibility is needed especially when combined with flatMap!

Share with the World!
Continue reading Create Java Streams
Categories Java Tags java, java-util, java8

Floyd Cycle detection in Java

farenda 2017-05-13 0

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, its beginning, and length.

Share with the World!
Continue reading Floyd Cycle detection in Java
Categories Algorithms Tags algorithms, java, lists
1 2 3 4 … 30 31 32 Next

Recent Posts

  • Java 8 Date Time concepts
  • Maven dependency to local JAR
  • Caesar cipher in Java
  • Java casting trick
  • Java 8 flatMap practical example
  • Linked List – remove element
  • Linked List – insert element at position
  • Linked List add element at the end
  • Create Java Streams
  • Floyd Cycle detection in Java

Pages

  • About Farenda
  • Algorithms and Data Structures
  • Bash Tutorial
  • Bean Validation Tutorial
  • Clojure Tutorial
  • Design Patterns
  • Java 8 Streams and Lambda Expressions Tutorial
  • Java Basics Tutorial
  • Java Collections Tutorial
  • Java Concurrency Tutorial
  • Java IO Tutorial
  • Java Tutorials
  • Java Util Tutorial
  • Java XML Tutorial
  • JUnit Tutorial
  • MongoDB Tutorial
  • Quartz Scheduler Tutorial
  • Software Developer’s Tools
  • Spock Framework Tutorial
  • Spring Framework

Tags

algorithms bash bean-validation books clojure design-patterns embedmongo exercises git gof gradle groovy hateoas hsqldb i18n java java-basics java-collections java-concurrency java-io java-lang java-time java-util java-xml java8 java8-files junit linux lists log4j logging maven mongodb performance quartz refactoring regex rest slf4j solid spring spring-boot spring-core sql unit-tests

Yet another programming solutions log © 2021

sponsored