Creates a new note. @param note Internal note id. #getId() always return this value. The value has to be in the interval [0; 24].
(byte note)
| 131 | * The value has to be in the interval [0; 24]. |
| 132 | */ |
| 133 | public Note(byte note) { |
| 134 | if (note < 0 || note > 24) { |
| 135 | throw new IllegalArgumentException("The note value has to be between 0 and 24."); |
| 136 | } |
| 137 | this.note = note; |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Creates a new note. |
nothing calls this directly
no test coverage detected