review the ArrayTools.java