Unmodifiable collection in Java

The below command is used to return a unmodifiable list,map or set which can't be modified so original collection remains immutable i.e items can neither be added or removed from that collection

    return Collections.unmodifiableMap(list);