Git Product home page Git Product logo

learn-java-8-stream's Introduction

New Way Of Learing Java 8 Streams

In this Repository we are giving you the best of best the implementations of streams in java 8, we are trying to show you how stream is similar to MySQL operation

Read similar

Topics Covers

  • lambda in java 8
  • Functional Interface
    • Predicate
    • Consumer
    • Function
    • Comparetor
    • Comparable and more
  • Streams
    • streams
    • map
    • filter
    • sotred
    • distinct
    • flatMap
    • IntStream.Of
    • IntStream.range
    • anyMatch
    • allMatch
    • noneMatch
    • sort
    • min
    • max
    • reduce
    • count
    • forEach
    • IntStream.rangeClosed
    • mapToObj ,mapToInt and more
  • Logically We are comparing all Stream operations to MYSQL Operations

Example

    select tid from transactions where city="hyd" (Logically Similar To) 
    allTransaction.stream()
                  .filter(p->p.getCity.equals("hyd"))
                  .map(Transactions::getTid)
                  .collect(Collectors.toList()); 

Questions cover

  • Find all transactions in the year 2011 and sort them by value (small to high).
  • What are all the unique cities where the traders work?
  • Find all traders from Nanded and sort them by name.
  • Return a string of all traders’ names sorted alphabetically.
  • Are any traders based in Osmanabad?
  • Print all transactions’ values from the traders living in Nanded.
  • What’s the highest value of all the transactions?
  • Find the transaction with the smallest value.

Database Design

Database Design

learn-java-8-stream's People

Contributors

rohitchavan-git avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.