Java Arraylist Add Method Complexity Science Physiological Adaptation