Problem I have this simple builder here: public class User { private final String name; private final String lastname; private […]
Tag: fluent-interface
Fluent interface for Logger
Problem I was trying to wrap a Logback logger in order to provide some handy methods and already defined default […]
Java Fluent Wrapper [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Missing Review Context: Code Review requires concrete code […]
Fluent Repository/QueryBuilder
Problem I’ve been toying around making my repositories a bit more fluent for a while. I was ending up with […]
Finite State Machine supporting shortest path transitions
Problem In our automated test framework, written in Java 8, there are different entities representing test data, having different states […]
Fluent Interface for a XmlQueryBuilder
Problem In this answer I suggested using a fluent interface “builder” to replace all the hard-coded, repetitive and quite error-prone […]
Java Fluent Wrapper [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Missing Review Context: Code Review requires concrete code […]
Java builder for user contact information, with optionals
Problem I have this simple builder here: public class User { private final String name; private final String lastname; private […]
Initializing immutable objects with a nested builder
Problem I need to initialize several parameters of an object but I also wanted to make it immutable. At the […]
Fluent interface builder
Problem I’m working on a fluent interface builder that takes: an array of strings, each of which becomes a key […]
- 1
- 2