Returns of non existing value without getting unchecked warning @param Type wrapped in Option @return NONE
()
| 35 | * @return NONE |
| 36 | */ |
| 37 | @SuppressWarnings("unchecked") |
| 38 | @NotNull |
| 39 | public static <T> Option<T> none() { |
| 40 | return NONE; |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * Indicates if option contains value |
no outgoing calls