code: public int getIndexOf(Object object) {
  		int index = tableModel.getUsers().indexOf(object);
  		if (index < 0 && customUsers != null)
  			return tableModel.getUsers().size() + ArrayUtils.indexOf(customUsers, object);
  		return index;
  	}
docs: Returns the index of the specified element in the model's item list.
  
  @param object the element.
  @return The index of the specified element in the model's item list, or -1 if it wasn't
  found