Search This Blog

Total Pageviews

How to use UnmodifiableList to create Read Only List in Java

private static final List<String> readOnlyCountriesList= java.util.Collections.UnmodifiableList(java.util.Arrays.aslist("USA","JAPAN","EUROPE")) ;

1 comment:

Dan Garr said...

Helllo mate great blog

Saga Design Pattern

The Saga design pattern is a way to manage distributed transactions in a microservices architecture. In a microservices environment, where d...