public void updateQuery(QueryControllerQuery query) {
		int position = getElementPosition(query.getID());
		queries.set(position, query);
	}
public void updateQuery ( QueryControllerQuery query ) { int position = getElementPosition ( query . getID ( ) ) ; queries . set ( position , query ) ; }
Updates the existing query.