« Search  |  Retro Site View (Experimental)  |  Switch to Reader Mode Images: 56K  |  Retro Mode: ON  |  Original Site »
GitHub   (github.com · converted in 646 ms)
Sections: Homepage  |  Actions CI/CD and automation  |  All Features  |  Documentation  |  Training  |  Certifications  |  Build with Copilot  |  Customize Copilot  |  Integrations  |  Trending repos  |  GitHub Sponsors  |  Developer articles  |  Enterprises  |  Small and medium teams  |  Startups  |  Nonprofits

GitHub - Rapter1990/JavaStreamAPIExamples: Java Stream API Examples

Branches
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


Permalink: Java Stream API EXAMPLES

Main Information

Description


Permalink: 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

Permalink: Description of the Methods
FolderDescription
arraynumberexampleSample Implementation of java stream features containing map, reduce , limit, sorted, max, min, Comparator.comparing, filter, Collections.frequency, average, orElse, mapToInt
banktransactionexampleThis is a bank transaction example implemented by java stream including in Comparator, Comparator.comparing, filter, count, max, min/td>
employeedataEmployee data is used for FilterConsumerPredicateExample located under funcationalexamples
employeeexampleWell 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
footballeagueexampleThis is the football league example with the usage of Comparator provided by Java stream featues
footballteambyleagueandteamtypeWell 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
functionalexamplesSimple 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
movieexampleWell-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
studentdataEmployee data is used for ConsumerExample located under funcationalexamples

Usage of Technology

Permalink: Usage of Technology
  • Java 15

🔨 Run the App

Permalink: 🔨 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

Topics

java java-stream-api java-streams java15 javastreams

Resources

Readme Activity

Stars

21 stars

Watchers

1 watching

Forks

5 forks Report repository

Releases


Packages


Contributors


Languages