{{theTime}}

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

MongoDB Tutorial MongoDB Tutorial Table of Contents Introduction to MongoDB Installation Creating a Database Creati...