Creates a new note. @param note Internal note id. #getId() always return this value. The value has to be in the interval [0; 24].
(int note)
| 127 | * value. The value has to be in the interval [0; 24]. |
| 128 | */ |
| 129 | public Note(int note) { |
| 130 | Validate.isTrue(note >= 0 && note <= 24, "The note value has to be between 0 and 24."); |
| 131 | |
| 132 | this.note = (byte) note; |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * Creates a new note. |
nothing calls this directly
no test coverage detected