MCPcopy Create free account
hub / github.com/traneio/future / unsafeCast

Method unsafeCast

future-java/src/main/java/io/trane/future/Future.java:601–601  ·  view source on GitHub ↗

Casts the result of this future. Avoid this method since it's unsafe and can produce a future failed with a ClassCastException. @return the casted future.

()

Source from the content-addressed store, hash-verified

599 * @return the casted future.
600 */
601 @SuppressWarnings("unchecked")
602 default <R> Future<R> unsafeCast() {
603 return (Future<R>) this;
604 }

Callers 5

mapMethod · 0.80
flatMapMethod · 0.80
biMapMethod · 0.80
biFlatMapMethod · 0.80
voidedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected