• Home
  • About Us
  • Privacy Policy
  • Contact Us

BenchResources.Net

Java tutorial for beginners

  • Home
  • Java
    • Java 1.8 Features
    • Java 8 Date/Time
    • JSON/YAML/XML/JAXB
    • Java Basics
    • OOPS
    • String Handling
    • Exception Handling
    • Generics
    • Serialization
    • Collection
    • Concurrent Collection
    • JDBC
  • Spring
    • Spring Core
    • Spring AOP
    • Spring MVC
    • Spring JDBC
    • Spring ORM
    • Spring Security
  • Web Services
    • Apache CXF – REST
    • JBoss RestEasy
    • Jersey 2.x
    • Spring Restful
    • Apache Axis2 RI
    • Apache CXF – SOAP
    • Metro JAX-WS – SOAP
  • Tools
    • Apache Maven
    • Eclipse IDE
    • Eclipse + Maven
    • FileZilla FTP
  • Oracle SOA
    • Oracle SOA 12c
    • Interview Question on SOA
  • Cloud
    • AWS
    • Microsoft Azure
  • Android
  • Interview Q
  • Jobs

Tag: toSet

No Image

Java 8 – How to get Keys from Value in HashMap using Stream ?

December 23, 2022 SJ 0

In this article, we will discuss how to get Keys from Value in Map or Map implemented classes like HashMap, LinkedHashMap or TreeMap using Java Read More

No Image

Java 8 – How to split a String and Collect to any Collection ?

May 20, 2022 SJ 0

In this article, we will discuss how to split a String using different delimiters and collect to any Collection or List or Set Split a Read More

No Image

Java 8 – How to find duplicate and its count in an Arrays ?

April 22, 2022 SJ 0

In this article, we will discuss how to find and count duplicates in an Arrays in different ways Find and count duplicates in an Arrays Read More

No Image

Java 8 – How to find duplicate in a Stream or List ?

February 12, 2022 SJ 0

In this article, we will discuss how to find and count duplicates in a Stream or List in different ways Find and count duplicates in Read More

No Image

Java 8 – Convert Stream to TreeSet

February 3, 2022 SJ 0

In this article, we will discuss how to convert Stream into a TreeSet in Java 1.8 version using Stream API. TreeSet doesn’t allow duplicates but Read More

No Image

Java 8 – Convert Stream to LinkedHashSet

February 2, 2022 SJ 0

In this article, we will discuss how to convert Stream into a LinkedHashSet in Java 1.8 version using Stream API. LinkedHashSet doesn’t allow duplicates but Read More

No Image

Java 8 – Convert Stream to HashSet

February 1, 2022 SJ 0

In this article, we will discuss how to convert Stream into a HashSet in Java 1.8 version using Stream API. Unlike List, Set neither allows Read More

No Image

Java 8 – How to remove duplicates from LinkedList ?

September 24, 2021 SJ 0

In this article, we will discuss how to remove duplicate element/objects from LinkedList with examples using different approaches Also read How to remove duplicates from Read More

Search tutorials

Subscribe via Email

Join 236 other subscribers




Proudly powered by Tuto WordPress theme from MH Themes