This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Also, if dConn.getManagerNameByDeptArrayList() always returns the same list, then this line of code seems a bit strange to me. List A is always going to contain element i of List A. Unless, that is, the elements of the list have a badly-implemented equals() method. But you implied they were String objects, so that can't be the case.
Joined: Nov 16, 2004
Bear Bibeault wrote:
Steve Dyke wrote:As I build the array list I want to make sure I don't add duplicate values.