Giter VIP home page Giter VIP logo

streamstudy's Introduction

streamStudy

  • 기본 개념
  • 함수형 프로그래밍을 지원하는 컬렉션 처리API
  • 데이터 요소들을 처리하는데 사용되며, 기본적으로 컬렉션과 배열을 다룬다.
  • Stream은 켈렉션과 배열로부터 생성

중간 연산

  • 데이터 가공이나 필터링 작업
  • filter, map, sorted 등이 중간연산에 해당
  • 중간연산은 stream 을 반환하기에 체이닝 가능

최종 연산

  • 중간 연산 후에 최종 결과 반환
  • forEach, collect, reduce
  • 최종연산은 Stream을 닫고 결과를 반환하기 때문에 한번만 사용가능

지연 연산

  • stream은 지연연산 지원
  • 중간연산을 실행할때, 실제로 요소들을 처리하지 않고
  • 최종 연산이 실행 될때까지 기다라는것

streamstudy's People

Contributors

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