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

Bean Validation Unit Testing

farenda 2017-01-19 1

In this article we present practical Bean Validation Unit Testing using JUnit. Testing this part is very simple, yet often neglected by many developers. Let’s fix that!

Share with the World!
Continue reading Bean Validation Unit Testing
Categories Java Tags bean-validation, java, junit, unit-tests

Java Bean Validation example

farenda 2017-01-17 0

In this post we show Java Bean Validation example! Bean Validation is fantastic and flexible library that can be used in JEE and JSE programs to verify data!

Share with the World!
Continue reading Java Bean Validation example
Categories Java Tags bean-validation, java

java.lang.InterruptedException

farenda 2017-01-14 0

java.lang.InterruptedException is thrown when a Thread blocked in Object.wait(), Thread.join(), or Thread.sleep() is interrupted. Here we’ll look at these cases.

Share with the World!
Continue reading java.lang.InterruptedException
Categories Java Tags java, java-concurrency

Java IllegalMonitorStateException

farenda 2017-01-12 0

java.lang.IllegalMonitorStateException form Object’s notify/wait methods indicates basic synchronization issue. In this post we’ll show the reason and how to fix it!

Share with the World!
Continue reading Java IllegalMonitorStateException
Categories Java Tags java, java-concurrency

Single Responsibility Principle explained

farenda 2017-01-07 0

Single Responsibility Principle (SRP) is the most important of SOLID software design principles. In this post we explain it and show how to apply!

Share with the World!
Continue reading Single Responsibility Principle explained
Categories Patterns Tags design-patterns, solid

GCD in Clojure using Euclidean algorithm

farenda 2017-01-01 5

In this post we’re going to implement calculation of Greatest Common Divisor GCD in Clojure using Euclidean algorithm for two and more numbers.

Share with the World!
Continue reading GCD in Clojure using Euclidean algorithm
Categories Clojure Tags algorithms

GCD in Java using Euclidean Algorithm

farenda 2016-12-30 0

In this post we show how to implement GCD in Java using Euclidean Algorithm. GCD is known as Greatest Common Divisor/Factor/Measure, Highest Common Divisor/Factor.

Share with the World!
Continue reading GCD in Java using Euclidean Algorithm
Categories Algorithms Tags algorithms, java

Remove duplicates from List in Java

farenda 2016-12-22 0

We show how to remove duplicates from List in Java. Choose implementation depending on circumstances and with expected performance.

Share with the World!
Continue reading Remove duplicates from List in Java
Categories Java Tags algorithms, java, java-util

Clojure transients – fast mutations in persistent world

farenda 2016-12-21 0

Clojure transients is a great way to optimize performance sensitive code without leaving familiar Clojure world. In this post we show how to use them to boost performance.

Share with the World!
Continue reading Clojure transients – fast mutations in persistent world
Categories Clojure Tags performance

Generate random numbers concurrently – ThreadLocalRandom

farenda 2016-12-20 0

Until Java 7 there was no simple and effective way to generate random numbers concurrently. Here we show ThreadLocalRandom to generate random numbers in a thread-safe way.

Share with the World!
Continue reading Generate random numbers concurrently – ThreadLocalRandom
Categories Java Tags java, java-concurrency, java8
Previous 1 2 3 4 5 6 7 … 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
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok