There is a field in used by LinkedHashMap.java is:
final boolean accessOrder;
A constructor of LinkedHashMap is:
public LinkedHashMap(int initialCapacity,
float loadFactor,
boolean accessOrder) {
super(initialCapacity, loadFactor);
this.accessOrder = accessOrder;
}
I want to know purpose of the field accessOrder. Please give an example which differentiate if accessOrder is 'true and 'false'. Is there any other way to to update the accessOrder field of a already created object?