()
| 32 | } |
| 33 | |
| 34 | public T get() { |
| 35 | if (this.value == null) { |
| 36 | throw new NoSuchElementException(); |
| 37 | } |
| 38 | return this.value; |
| 39 | } |
| 40 | |
| 41 | public T orElse(T other) { |
| 42 | return this.value != null ? this.value : other; |
no outgoing calls
no test coverage detected