• 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: immutable

No Image

Java 8 – How to Reverse a String in place ?

July 28, 2023 SJ 0

In this article, we will see how to reverse a String in place using traditional & Java 8 Stream approaches 1. Traditional approach : ReverseStringInPlace.java Read More

No Image

Java – How to make a Collection read-only or unmodifiable ?

July 1, 2022 SJ 0

In this article, we will discuss how to convert a modifiable Collection into an unmodifiable Collection using Collections.unmodifiableCollection(); method 1. Collection implemented classes: Classes that implement directly or via Collection are, ArrayList LinkedList Read More

No Image

Java – How to make a HashMap read-only or unmodifiable ?

February 10, 2022 SJ 0

In this article, we will discuss how to convert a modifiable HashMap entries into an unmodifiable HashMap entries using Collections.unmodifiableMap(); method 1. Convert HashMap to Read More

No Image

Java – How to make a HashSet read-only or unmodifiable ?

February 9, 2022 SJ 0

In this article, we will discuss how to convert a modifiable HashSet into an unmodifiable HashSet using Collections.unmodifiableSet(); method 1. Convert HashSet to Read-only: HashSet Read More

No Image

Java – How to make an ArrayList read-only or unmodifiable ?

February 8, 2022 SJ 0

In this article, we will discuss how to convert a modifiable ArrayList into an unmodifiable ArrayList using Collections.unmodifiableList(); method 1. Convert ArrayList to Read-only: ArrayList Read More

No Image

Java – How to construct an immutable class ?

January 15, 2017 SJ 2

In this article, we will discuss how to construct or create an immutable class step-by-step This is one of the favorite interview questions for fresher and Read More

Search tutorials

Subscribe via Email

Join 236 other subscribers




Proudly powered by Tuto WordPress theme from MH Themes