code: public KeySignature getKey() {
  		for (int i = 0, j = size(); i < j; i++) {
  			if (elementAt(i) instanceof KeySignature)
  				return (KeySignature) elementAt(i);
  		}
  		return new KeySignature(Note.C, KeySignature.MAJOR);
  	}
docs: Returns the key signature of this tune.
  
  @return The key signature of this tune.