/** * Stores attribute value associated with a key. * * <p>Java binding of the MPI operation {@code MPI_TYPE_SET_ATTR}. * * @param keyval attribute key * @param value attribute value * @throws MPIException */ public void setAttr(int keyval, Object value) throws MPIException { MPI.check(); setAttr(handle, keyval, MPI.attrSet(value)); }