Coder Social home page Coder Social logo

javastreamapiexamples's Introduction

Java Stream API EXAMPLES

Main Information

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"

javastreamapiexamples's People

Contributors

rapter1990 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.