Giter Site home page Giter Site logo

learnjava8's Introduction

LearnJava8

Learning Java8 Features And Implementation

Environment

SDK
Java 8 : https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

IDE
Intellij Idea Community Edition: https://www.jetbrains.com/idea/download/

Purpose of the repo is learn available methods and option in Java 8

  • Imperative vs Declarative Style Example
  • About lambda
  • Lambda API : https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html
    • Consumer
    • BiConsumer
    • Predicate
    • BiPredicate
    • Function
      • Min
      • Max
    • BiFunction
    • Supplier
  • Stream API : https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html
    • Operation
      • Map
      • Flatmap
      • Reduce
      • Collect
      • Filter
      • Sort
      • Min
      • Max
      • Limit
      • Skip
      • allMatch
      • anyMatch
      • noneMatch
      • findAny
      • findFirst
    • Factory Methods
      • of
      • generate
      • iterate
    • Numeric Streams
      • Class to handle primitive types
        • IntStream
        • LongStream
        • DoubleStream
      • range
      • rangeClosed
      • count
      • foreach
      • Aggregate Functions
        • sum
        • max
        • min
        • average
        • Extra Class
          • OptionalInt
          • OptionalLong
          • OptionalDouble
      • Boxing & Unboxing
        • boxed
        • mapToInt
        • mapToLong
        • mapToDouble
        • mapToObj
    • Terminal Operations
      • joining
      • counting
      • mapping
      • summingInt
      • averagingInt
      • summingLong
      • averagingLong
      • summingDouble
      • averagingDouble
      • maxBy
      • minBy
      • groupingBy
      • partitioningBy
    • Parallel Processing
      • sequential vs parallel
      • when not to use parallel stream
        • boxed
  • Optional : https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html
    • isPresent
    • get
    • ofNullable
    • empty
    • orElse
    • orElseGet
    • orElseThrow
    • ifPresent
    • map
    • flatMap
    • filter
  • Default & Static Method
    • Interface
      • Default Method (default)
      • Static Method
      • Multiple Inheritance
      • Resolving Multiple Inheritance Issue
    • Abstract vs Interface
  • Date & Time Libraries [Joda DateTime Insipiration] : https://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html
    • LocalDate

      • Creation
        • now
        • of
        • ChronoField
        • ChronoUnit
        • TemporalAdjusters
      • Accessing
        • getMonth
        • getMonthValue
        • getYear
        • getDayOfMonth
        • getDayOfYear
      • Modifying
        • plusDays
        • plusMonths
        • plusYears
        • minusDays
        • minusMonths
        • minusYears
        • with
      • Validation
        • isEqual
        • isBefore
        • isAfter
        • isSupported
        • isLeapYear
    • LocalTime

      • All functionality same as LocalDate except date related
      • Accessing
        • getHour
        • getMinute
        • getNanoOfSecond
        • toSecondOfDay -> represents time in seconds
      • Modifying
        • minusHours
    • LocalDateTime

      • All functionality same as LocalDate and LocalTime
    • Period -> Only compatible with LocalDate & LocalDateTime

    • Duration -> Only compatible with LocalTime & LocalDateTime

    • Instant

      • now
      • getEpochSeconds
      • ofEpochSeconds
    • ZonedDateTime

    • ZoneId

    • ZoneOffset

    • Clock

    • DateTimeFormatter

Java 8

Java8

Lambda Expression
Lambda

Lambda Example
Lambda Example

Stream Api
Stream Api

Trained From Udemy
Udemy

Udemy: https://www.udemy.com/
Tutorial Link:https://www.udemy.com/modern-java-learn-java-8-features-by-coding-it/learn/v4/overview
JDK 8: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

learnjava8's People

Contributors

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