if (headers[i].equals(key)) return i; if (stringKey && (headers[i] instanceof String) && ((String) headers[i]).equalsIgnoreCase((String) key)) return i;
if (stringKey && (headers[i] instanceof String)) { if (((String) headers[i]).equalsIgnoreCase((String) key)) return i; } else { if (headers[i].equals(key)) return i; }
	private int getIndex(Object key) {		boolean stringKey = key instanceof String;		for (int i = 0; i < size; i++) {			if (headers[i].equals(key))				return i;			if (stringKey && (headers[i] instanceof String) && ((String) headers[i]).equalsIgnoreCase((String) key))				return i;		}		return -1;	}