Integrated List methods

edited list() method for all java