Created a utility method. ArrayUtils.indexOf(...)