Intersection types are one of these relatively unknown and underestimated advanced features of Java generics whose proper usage can increase type-safety of our abstractions (or…
Leave a CommentCategory: Java
CompletableFuture’s thenApply/thenApplyAsync are unfortunate cases of bad naming strategy and accidental interoperability. In this article, we’ll have a look at methods that can be used seemingly…
Leave a CommentJava 8 brought us tools like CompletableFuture and Stream API… let’s try to combine them both and create a Stream that returns values from a…
Leave a Comment