Tag

Predicate

1 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 20, 2023 · Backend Development

How Spring Cloud Gateway Initializes Predicates and Routes Internally

This article explains how Spring Cloud Gateway (Hoxton.SR11) creates and configures predicate factories, binds their Config objects, builds Route objects, caches them with CachingRouteLocator, and finally matches incoming requests to the appropriate route using asynchronous predicates.

PredicateRouteSpring Cloud Gateway
0 likes · 10 min read
How Spring Cloud Gateway Initializes Predicates and Routes Internally
Top Architect
Top Architect
Jun 1, 2022 · Backend Development

Implementing Dynamic Queries with Spring Data Querydsl

This article explains how to use Spring Data Querydsl to parse and execute flexible, type‑safe dynamic queries, covering request definition, Google‑like and field‑specific query formats, integration with Spring repositories, predicate building, boolean expression handling, and challenges when querying nested collections.

Dynamic QueryPredicateQuerydsl
0 likes · 19 min read
Implementing Dynamic Queries with Spring Data Querydsl
Selected Java Interview Questions
Selected Java Interview Questions
Mar 21, 2021 · Backend Development

Various Methods for List Deduplication in Java Using Streams

This article presents several techniques for removing duplicate elements from Java lists, including Stream.distinct(), property‑based deduplication with TreeSet and Comparator, and custom filter predicates, providing code examples for both simple strings and custom entity objects.

CollectionsDeduplicationLambda
0 likes · 8 min read
Various Methods for List Deduplication in Java Using Streams
IT Xianyu
IT Xianyu
Dec 23, 2020 · Fundamentals

Why Java Needs Lambda: Solving the Vertical Problem with Functional Interfaces

This article explains the need for Java lambda expressions by illustrating the "Vertical Problem" of repetitive, tightly‑coupled code for different contact methods and demonstrates a progression of refactorings that culminate in a concise solution using functional interfaces and predicates.

Functional ProgrammingLambdaPredicate
0 likes · 11 min read
Why Java Needs Lambda: Solving the Vertical Problem with Functional Interfaces