Rapter1990/JavaStreamAPIExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Main Information

  • There are some examples of Java Stream API which I've done
  • All these examples are implemented java stream features
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
  • Java 15

1 ) Clone project from

    File 
      -> New 
         -> Project from Version Control
           -> Paste the git url and Click Clone

2 ) Click "Run"

About

Java Stream API Examples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages