Yuri Mednikov

Tag: Core Java

Validation for Spring Webflux APIs with Yavi

In Spring MVC a server-side validation was implemented using annotations. We could just put @Valid before the body payload in the controller method and Spring did all dirty work for us. On the…

How to use iterators in Java

The iterator pattern is one of approaches to access elements of a collection, alongside with streams. From a technical point of view, the iterator traverses elements in a sequential and predictable order. In…

Understand Java Collections

When we talk about Java collections, we consider two things. First, more wide concept, means implementations of common data structures. An another, narrow understanding, corresponds to concrete interfaces and their implementations, that are…