code: public static Note[] getNotesShorterThan(Note[] notes, int aStrictDuration) {
  	  Vector shorterNotes = new Vector();
  	  Note[] notesArray =null;
        for (Note note : notes) {
            if (note.getStrictDuration() < aStrictDuration)
                shorterNotes.addElement(note);
        }
  	  if (shorterNotes.size()>0) {
  		  notesArray = new Note[shorterNotes.size()];
  		  shorterNotes.toArray(notesArray);
  	  }
  	  return notesArray;
    }
docs: Returns all notes strictly shorter than the given strict duration.
  @param notes An arry of notes.
  @param aStrictDuration A strict duration (use constants defined class Note)
  @return All notes strictly shorter than the given strict duration. <TT>null</TT>
  is returned is no note if shorter than the given strict duration.
  @see Note#getStrictDuration()