code: public Accidental getAccidentalFor (byte noteHeigth)
      {
        int index = 0;
        if (noteHeigth==Note.C) index=0;
        else if (noteHeigth==Note.D) index=1;
        else if (noteHeigth==Note.E) index=2;
        else if (noteHeigth==Note.F) index=3;
        else if (noteHeigth==Note.G) index=4;
        else if (noteHeigth==Note.A) index=5;
        else if (noteHeigth==Note.B) index=6;
          else throw new IllegalArgumentException("Invalid note heigth : " + noteHeigth);
        return accidentals[index];
      }
docs: Returns accidental for the specified note heigth for this key.
  @param noteHeigth A note heigth among <TT>Note.C</TT>, <TT>Note.D</TT>,
  <TT>Note.E</TT>, <TT>Note.F</TT>, <TT>Note.G</TT>, <TT>Note.A</TT>,
  <TT>Note.B</TT>.
  @return Accidental value for the specified note heigth. This value can be
  <TT>NATURAL</TT>, <TT>FLAT</TT> or <TT>SHARP</TT>.
  @exception IllegalArgumentException Thrown if the specified note heigth
  is invalid.