GitHub - 1emreucar1/JavaStreamAPIExamples: Java Stream API Examples
Repository navigation
JavaStreamAPIExamplesPublic
forked from Rapter1990/JavaStreamAPIExamples
About
Java Stream API Examples
Resources
Readme ActivityStars
0 starsWatchers
0 watchingForks
0 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
5 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| .idea | .idea | ||
| screenshots | screenshots | ||
| src | src | ||
| .gitignore | .gitignore | ||
| JavaStreamAPIExamples.iml | JavaStreamAPIExamples.iml | ||
| README.md | README.md | ||
Repository files navigation
Java Stream API EXAMPLES
Description
- There are some examples of Java Stream API which I've done
- All these examples are implemented java stream features
Description of the Methods
| Folder | Description |
|---|---|
| arraynumberexample | Sample Implementation of java stream features containing map, reduce , limit, sorted, max, min, Comparator.comparing, filter, Collections.frequency, average, orElse, mapToInt |
| banktransactionexample | This is a bank transaction example implemented by java stream including in Comparator, Comparator.comparing, filter, count, max, min/td> |
| employeedata | Employee data is used for FilterConsumerPredicateExample located under funcationalexamples |
| employeeexample | Well defined example of the usage of java stream features comprised of Collectors.groupingBy, Collectors.counting, Collectors.groupingBy, Collectors.maxBy, Comparator.comparingDouble, sorted, reversed, max, Comparator.comparingInt, Collectors.partitioningBy, Collectors.summarizingDouble, filter, min, Collectors.averagingDouble, map, Collectors.averagingInt |
| footballeagueexample | This is the football league example with the usage of Comparator provided by Java stream featues |
| footballteambyleagueandteamtype | Well defined example of the usage of java stream features with the usage of Collectors.groupingBy, Collectors.summingInt, Collectors.summarizingInt, Collectors.counting, Collectors.partitioningBy, Collectors.joining, Collectors.mapping, computeIfAbsent |
| functionalexamples | Simple example of the usage of java stream features with showing how to use noneMatch, anyMatch, allMatch, compareTo, BiConsumer, accept, Consumer, distinct, filter, sorted, Comparator, reversed, thenComparing, flatMap |
| movieexample | Well-defined implementation of java stream features involving in filter, flatMap, Collectors.groupingBy, Collectors.counting, Collectors.mapping, count, Comparator, max, min, mapToLong , sum, sorted, findFirst, anyMatch, distinct, forEach, computeIfAbsent, Predicate, negate |
| studentdata | Employee data is used for ConsumerExample located under funcationalexamples |
Usage of Technology
- Java 15
🔨 Run the App
1 ) Clone project from github
File
-> New
-> Project from Version Control
-> Paste the git url and Click Clone
2 ) Click "Run"
About
Java Stream API Examples