MCPcopy Create free account
hub / github.com/tomaszpolanski/Options / none

Method none

options/core/src/main/java/polanski/option/Option.java:37–41  ·  view source on GitHub ↗

Returns of non existing value without getting unchecked warning @param Type wrapped in Option @return NONE

()

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls