#13 - How to convert HashMap to ArrayList in Java? - Naveen AutomationLabs

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 16

  • @vijaykumar-pd8zi
    @vijaykumar-pd8zi ปีที่แล้ว +1

    Adding to this, for printing both key and values in ArrayList are :
    List ls3 = new ArrayList(hamp.entrySet());
    System.out.println("Key and values of List are " + ls3);

  • @qaisqais3987
    @qaisqais3987 4 ปีที่แล้ว +2

    Thank you very much Naveen! I am refresher got a very understanding of Collections after reviewing you Useful Videos.

  • @funwithcooking399
    @funwithcooking399 4 ปีที่แล้ว +2

    Your way to teach is really awesome..it is helping me allot to learn new concepts..

  • @vaishnavis6653
    @vaishnavis6653 4 ปีที่แล้ว +2

    Thank you naveen.. all your videos are very useful..

  • @mertm2245
    @mertm2245 2 ปีที่แล้ว +3

    List compNamesList = compMap.keySet().stream().collect(Collectors.toList());
    I think we can add this way of converting keyset/value to list as well by the help of collect method of jdk 1.8

  • @SarangHoley
    @SarangHoley 4 ปีที่แล้ว +2

    Thanks for the video Naveen 👍, the covered topic make things easy in different use cases while coding 😊😊

  • @grvlal
    @grvlal 9 หลายเดือนก่อน

    Thanks for the informative session

  • @joshbenjamin1100
    @joshbenjamin1100 ปีที่แล้ว

    Love your content. It's incredibly helpful. Absolutely had to join!

  • @sarahfatima6387
    @sarahfatima6387 2 ปีที่แล้ว +1

    I need your help I am trying to collect two algorithms the first use hashmap and second use arraylist I want to put hashmap results and use them in second algorithm

  • @vivekaanand6444
    @vivekaanand6444 3 ปีที่แล้ว +1

    Hi Naveen , all ur videos are really helpful and easy to understand ur way of explanation is very clear and crystal.
    Have small doubt in this program , have given company names in Key Google , Amazon , CISCO , but when printing in console it is not printing in same order it is getting shuffled can u pls explain the logic on that ?

    • @Coolharshit149
      @Coolharshit149 3 ปีที่แล้ว +1

      Watch the last to the last video for that. HashMap will print in the order of bucket numbers.

  • @akshaymg2657
    @akshaymg2657 4 ปีที่แล้ว

    I have some questions. I know selenium with java. But for an automation tester with 3yrs experience, what all skills they will expect? REST API better to learn? what about Jira tool and Agile methodology? Anything else need to learn? POSTMAN enough or SOAP UI required? I have seen CI/CD Jenkins etc in some job details. Do I need to know that for automation testing?

  • @shashikant-yy6bm
    @shashikant-yy6bm 2 ปีที่แล้ว

    Hi Naveen
    I need to compare two csv excel file row by row for both excel file using this method and display the data of a perticular row which is not matched.
    So, Can you pls help me on that.

  • @sureshgarine
    @sureshgarine 4 ปีที่แล้ว

    can u create a video with HashMap key is a string(student name) and value is an object, object referring to another student information(school name, address, phone number)?