Video není dostupné.
Omlouváme se.

28. Streams in Java8 | Collections in Java - Part7

Sdílet
Vložit
  • čas přidán 28. 10. 2023
  • ➡️ Notes: Shared in the Member Community Post (If you are Member of this channel, then pls check the Member community post, i have shared the Notes link there)
    ➡️ Join this channel to get access to member only perks:
    / @conceptandcoding

Komentáře • 86

  • @ashwinajmery6071
    @ashwinajmery6071 Před 3 měsíci +9

    Salute you brother, now I will watch only your videos from now... Too much Deeply with simply explained 😅😅 Real Java Developer ❤

  • @karmicveda9648
    @karmicveda9648 Před 9 měsíci +9

    Out of all the tech channels I follow, this is the only channel where I provide comments. You're content is always in depth and easy to consume. I can understand you put lot of efforts to get here.
    Request to please see if possible you can allow all to watch your videos and not just the Members. Thank you once again for sharing your knowledge.

  • @Arisha0606
    @Arisha0606 Před 4 dny +1

    Thank you so much sir, easy to understand and remember how to use Java 8 functions.

  • @amitagarwal779
    @amitagarwal779 Před měsícem +3

    Really awsome and helpful content Shrayansh !!!! . Keep up the good work.

  • @in_tyler_we_trust
    @in_tyler_we_trust Před 2 měsíci +1

    ONE OF THE GREATEST JAVA TEACHER
    TRULY GOATED 🛐 THANKS MAN

  • @Explore_with_anish
    @Explore_with_anish Před 2 měsíci +1

    very helpful..great service for the community.

  • @sankalparora9374
    @sankalparora9374 Před 9 měsíci +1

    Man - you are killin' it!

  • @krishnendughosh2368
    @krishnendughosh2368 Před 8 měsíci +3

    25:06 here in the the map() method we pare passing a function where Stream is the type it is getting and Stream is the return type.
    but in the body of the map function we are mentioning only type
    ** Stream map(Function

  • @user-tp4ir7uf8f
    @user-tp4ir7uf8f Před 5 měsíci +1

    Awesome. You took lot of efforts. Very nice explanation.

  • @zaheerabass7955
    @zaheerabass7955 Před 10 měsíci

    I knew before that only you can make justice to streams explanation and you did in a style!. Very much clear. Now I can start implementing with full confidence in my daily work. Thank You So much. Hope same from the multithreading explanation.

    • @ConceptandCoding
      @ConceptandCoding  Před 10 měsíci

      Thanks buddy, it's was a huge topic and lot of pre work done to make sure that it's understood in a correct way.
      Thanks for the feedback, means lot to me.

  • @prasad1204
    @prasad1204 Před měsícem +1

    Great video!

  • @arunkumarrachannavar7776
    @arunkumarrachannavar7776 Před 11 dny +1

    Good job bro

  • @PhoenixRisingFromAshes471
    @PhoenixRisingFromAshes471 Před 9 měsíci +1

    Awesome bhaiya, pls post more on lld and java related topics

  • @Coding-Just
    @Coding-Just Před měsícem +1

    Amazing content and Nice explanation bro thanks a lot

  • @ankitraghav10
    @ankitraghav10 Před 2 měsíci +1

    Solid h boss..super explanation

  • @indianengineer5802
    @indianengineer5802 Před 5 měsíci

    30:58 , why we are not using terminal operation in this case of flatmap. Is it like we are just making stream but not making final transformed output from it ?

  • @MoniHazarika-oc7xs
    @MoniHazarika-oc7xs Před měsícem

    very good video Shrayansh on streams

  • @poojarath7087
    @poojarath7087 Před 5 dny +1

    Thank u so much sir

  • @AJ-fb9pk
    @AJ-fb9pk Před 10 měsíci

    I have to say, summarising java streams topic in an hour is pretty hard. This is impressive.
    I hope you do a dedicated video where streams is used in different scenarios/questions. Learning with more real life examples would be really helpful.

    • @ConceptandCoding
      @ConceptandCoding  Před 10 měsíci +1

      Yes, buddy. I will definitely plan for it.

    • @anthonya880
      @anthonya880 Před 9 měsíci

      Can you plz give feedback of taking membership of this channel.

  • @dhivyaviswanathan7604
    @dhivyaviswanathan7604 Před 6 měsíci +1

    Such a wounderful explanation..Thank u so much

  • @omkarshendge5438
    @omkarshendge5438 Před měsícem

    i did not get this
    just because the order of stream elements is in decreasing order how come the minimum element is 10 out of 10 7 4?
    im confused af rn!
    val1-val2 is the increasing order and val2-val1 is the decreasing order right?
    so the min should stay the same right or is there a typo? shrayansh bro do u mean it is max?

  • @sumitroy7817
    @sumitroy7817 Před 10 měsíci +1

    bachpan k Sapna pura ho gaya, streams padrone k. Thank you so much.

    • @ConceptandCoding
      @ConceptandCoding  Před 10 měsíci

      How was the video buddy, is stream totally clear

    • @sumitroy7817
      @sumitroy7817 Před 10 měsíci

      @@ConceptandCoding yes yes.. all clear. Need to implement with day to day coding, I believe that is missing with streams in my case.

    • @ConceptandCoding
      @ConceptandCoding  Před 10 měsíci +1

      cool, whenever you try to use for loop, change it with streams, it will help you to get some hands on experience with streams quickly.

  • @nitishgoyal9910
    @nitishgoyal9910 Před 8 měsíci

    Hi Shreyansh, This is very helpful
    can you please help me in understanding what makes a stream lazily evaluated and what is the advantage

  • @rajkumarvb5197
    @rajkumarvb5197 Před 5 měsíci +1

    Hi Shreyansh, one suggestion you could have not included the data type of parameter. That would have been still concise.
    Anyway great video, thank you!!

  • @naveentmyug
    @naveentmyug Před 6 měsíci

    In college, I was only to the basics or mere of it. But now I am much confident of my skills. Kha they sir ap

  • @SimranSrivastava-oi9rd
    @SimranSrivastava-oi9rd Před 10 měsíci

    Hey Shrayansh, for Java 8, multithreading in java, i want to go through indepth for internals etc. Can you suggest any good books, articles or any other alternative for the same, though your videos are gem!

  • @user-cv5kz7hu9n
    @user-cv5kz7hu9n Před 9 měsíci +1

    Great explanation

  • @athul03
    @athul03 Před 2 měsíci

    12:28
    Is there any benefits to mention the data type of current stream variable?
    salaryList.stream().filter((Integer sal)->sal>3000).count();
    or can we simply do this?
    salaryList.stream().filter(e->e>3000).count();

  • @ashishjaiswal4207
    @ashishjaiswal4207 Před 10 měsíci

    You have explained the topic in a simple and clear way. We have no difficulty in understanding it, but I have one suggestion for you. Before you start the topic, can you make us curious about why it is important?

  • @ashishchoksi8501
    @ashishchoksi8501 Před 10 měsíci

    Hi shreyansh,
    great explanation!!
    I have some adhoc request that I found difficult to understand.
    1. java date - hell lot of classes present to get current date with some format.
    2. how exactly synchronization works what to put in synchronization(something) want to get into deeper.
    3. what is exactly mean of java equals() & hashcode() why these exists and its internals.
    4. java file - standard way to read/write files and I think there are 2 version of it java.file & nio.file
    Please also plan to make depth video on these things and also let us know if there are good articles we can read about it.

  • @shriharikulkarni3986
    @shriharikulkarni3986 Před 3 měsíci +1

    at 19:06 Why are you typecasting inside the filter ((String name)) is this necessary ?

    • @girishanker3796
      @girishanker3796 Před 9 dny

      It is optional. But better to do it as the filter takes a predicate of Generic type()so when we say (String name) so T is now strictly of type String and cannot accept any other data Types as input. It is not type casting it is defining the variable type inside a lambda expression.

  • @gyandeepdigra8461
    @gyandeepdigra8461 Před 7 měsíci +1

    perfect.

  • @harshitagg
    @harshitagg Před měsícem

    Very good explanation of steeam. i have one doubt, what is difference between Function.identity() and (i -> i)

  • @vipulkumar6082
    @vipulkumar6082 Před 9 měsíci +1

    Thanks, Bookmark 01:04:14

  • @abc-ym4zs
    @abc-ym4zs Před 9 měsíci

    Sir i want your suggestion
    I am in third year i dont have much friends i came to engineering college which is very far from my city day by day Acdemic pressure not able concentrate on studies and placments in these college are not so good i am not able to learn new skill now what should i do dialy i am getting thinking too much and getting tension about future not able to think about present what

  • @bhaktishah3943
    @bhaktishah3943 Před 10 měsíci

    Hi Shrayansh, not able to see the full notes from link, please look into it.

  • @richard_levi17916
    @richard_levi17916 Před 9 měsíci

    Bro why all the previous videos are "members only" ?

  • @naveentmyug
    @naveentmyug Před 6 měsíci

    Thanks

  • @Asus877
    @Asus877 Před měsícem

    sir some videos of playlist is accessible to members only if it is done by mistake please make it accessible for all please

  • @meranaamtanish
    @meranaamtanish Před 10 měsíci

    Can you provide drive link or something for all the codes and notes of all videos and topics, it will save a lot of time. Also when we can expect multithreading video?

    • @ConceptandCoding
      @ConceptandCoding  Před 10 měsíci +1

      Pls check the description buddy.
      Next topic is Multithreading only

  • @ranaprathap-gn7so
    @ranaprathap-gn7so Před 10 měsíci +1

    Sir please upload micro services and there implementation

  • @shriharikulkarni3986
    @shriharikulkarni3986 Před 3 měsíci

    at 14:45 -> I tried Stream arrStream = Arrays.stream(arr); in intellij, its showing Incompatible types. Found: 'java.util.stream.IntStream', required: 'java.util.stream.Stream',
    when i typecast it like Stream arrStream = (Stream) Arrays.stream(arr); its compiling fine, but failing at the runtime saying
    java: incompatible types: java.util.stream.IntStream cannot be converted to java.util.stream.Stream
    Can you please explain @Shreyansh

  • @sudhakarrathaur4834
    @sudhakarrathaur4834 Před 10 měsíci

    Hello Shreyansh, Not able to see the notes from the link. Please look into it. Thanks

  • @rr45creation86
    @rr45creation86 Před 9 měsíci

    sir , if stream is taking more time than parallelstream then why .....we are not using parallelstream mostly..?

    • @ConceptandCoding
      @ConceptandCoding  Před 9 měsíci +2

      it is faster, but with parallel processing many other complexity comes into the picture like thread safety and Complexity.
      so use it when really need it.

  • @world4376
    @world4376 Před 2 měsíci

    Most of the videos are not locked I know you have worked hard for creating the playlist but most of people leave the playlist in between since most of the videos are locked. May be future if you thinks please unlock it ..🙂

  • @Sanjeev.Network
    @Sanjeev.Network Před 10 měsíci

    @Conceptandcoding Thanks For making it simple. I hope you will cover where streams is used in different scenarios.

    • @ConceptandCoding
      @ConceptandCoding  Před 10 měsíci +1

      hope you find this video useful, sure will plan for it.

  • @rk123692008
    @rk123692008 Před měsícem +2

    Ways to create stream
    list.stream()
    Arrays.stream()
    Stream.of()
    Stream.Builder svr = Stream.builder(); svr.build();
    Stream.iterate(start, incrementBy).limit(size);
    Intetmediate operators
    filter
    map
    flatMap
    distinct
    peek
    sorted
    limit
    skip
    mapToInt
    mapToLong
    mapToDouble
    Terminal Operations
    collect
    reduce
    forEach
    toArray
    min
    max
    count
    anyMatch
    allMatch
    noneMatch
    findFirst
    findAny

  • @Raghuvamshi-um8oq
    @Raghuvamshi-um8oq Před 2 měsíci +1

    ⭐⭐⭐⭐⭐

  • @imrankhurshid1960
    @imrankhurshid1960 Před 10 měsíci

    Note URL in the description not working

  • @ishank9082
    @ishank9082 Před 23 dny

    Can't access the notes .

  • @shriharikulkarni3986
    @shriharikulkarni3986 Před 3 měsíci

    Stream.Builder streamBuilder = Stream.builder()
    .add(1000)
    .add(2000)
    .add(3000);
    this is giving me Incompatible types. Found: 'java.util.stream.Stream.Builder', required: 'java.util.stream.Stream.Builder'

  • @ayushkansal6161
    @ayushkansal6161 Před 10 měsíci

    Ye video play kyu nhi ho rha

    • @ConceptandCoding
      @ConceptandCoding  Před 10 měsíci

      its still in processing seems, wait for some time, its will be available after few minutes.

  • @atharvakusumbia
    @atharvakusumbia Před 5 dny

    😂😂Collection of data or data 1:51

  • @dayashankarlakhotia4943
    @dayashankarlakhotia4943 Před 9 měsíci

    why lock some streams there's so many free contains available in

  • @imrankhurshid1960
    @imrankhurshid1960 Před 10 měsíci

    Video quality limited to 360 p only

    • @ConceptandCoding
      @ConceptandCoding  Před 10 měsíci +1

      It's processing, in some time it will be available in 4k too, just now upload completed buddy

  • @Abhishek-df5tf
    @Abhishek-df5tf Před 4 měsíci +3

    Please not use dark theam

  • @asifkaif356
    @asifkaif356 Před 2 měsíci

    Thanks