Blog: how to do in java


230 blogs updated: 34 min. ago
Java Stream allMatch() API
Java Stream allMatch (Predicate predicate) is short-circuiting terminal operation which is used to check if all the elements of the stream m...
6
14-03-2019 22:25:28 how to do in java Advanced
Java Stream noneMatch() API
Java Stream noneMatch (Predicate predicate) is short-circuiting terminal operation which is used to check if no element of the stream match ...
6
14-03-2019 15:48:40 how to do in java Advanced
Java Infinite Stream
Java examples to create infinite stream of data/elements. We will use Stream.generate() and Stream.iterate() methods to get the infinite str...
9
14-03-2019 08:55:48 how to do in java Advanced
Java Stream limit() method example
We can use Stream.limit(long maxSize) method to retrieve elements while they must not be greater than a certain maximum count. limit() metho...
6
13-03-2019 02:18:08 how to do in java Advanced
Java Stream skip() method example
We can use Stream.skip(long n) method to skip first 'n' elements from a stream. skip() method returns a stream consisting of the remaining e...
3
12-03-2019 19:17:07 how to do in java Advanced
Java Stream peek() method example
Java 8 Stream interface has peek(Consumer action) method which returns a new stream consists of all the elements of original stream after ap...
3
12-03-2019 12:14:01 how to do in java Advanced
Java Stream map() vs flatMap()
The difference between map() vs flatMap() with example. map() is used for transformation only, but flatMap() is used for both transformation...
11
11-03-2019 20:35:25 how to do in java Advanced
Java Predicate Negate Example
Predicate negate returns a predicate that represents the logical negation of the given predicate. The negate predicate is returns all the el...
7
09-03-2019 11:35:10 how to do in java Advanced
Java chained predicates – logical AND and logical OR operations
Java examples of chained predicates and to perform 'logical AND' and 'logical OR' operations and collect the elements into a list. The post ...
10
09-03-2019 05:01:53 how to do in java Advanced
Java Stream max()
Learn to use Stream max() method to select the largest element in the stream according to the comparator provided in its argument. 1. Stream...
3
08-03-2019 21:58:11 how to do in java Advanced


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.