MCPcopy
hub / github.com/socketio/socket.io-client-java / get

Method get

src/test/java/io/socket/util/Optional.java:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Calls

no outgoing calls

Tested by

no test coverage detected