package function
Type Members
- trait ExceptionalJavaConsumer[T] extends AnyRef
Used for Java 8 interop.
Used for Java 8 interop. This is a SAM version of com.twitter.util.ExceptionalFunction (returning Unit/void).
See
com.twitter.util.Function.excons
.- Annotations
- @FunctionalInterface()
- trait ExceptionalJavaFunction[A, B] extends AnyRef
Used for Java 8 interop.
Used for Java 8 interop. This is a SAM version of com.twitter.util.ExceptionalFunction.
See
com.twitter.util.Function.exfunc
.- Annotations
- @FunctionalInterface()
- trait ExceptionalSupplier[T] extends AnyRef
Used for Java 8 interop.
Used for Java 8 interop. This is a SAM version of com.twitter.util.ExceptionalFunction0.
See
com.twitter.util.Function.exfunc0
.- Annotations
- @FunctionalInterface()
- trait JavaConsumer[T] extends AnyRef
Used for Java 8 interop.
Used for Java 8 interop. It also exists as java.util.function.Consumer, but only from Java 8 onwards.
See
com.twitter.util.Function.cons
.- Annotations
- @FunctionalInterface()
- trait JavaFunction[T, R] extends AnyRef
Used for Java 8 interop.
Used for Java 8 interop. This is a SAM version of com.twitter.util.Function.
See
com.twitter.util.Function.func
.- Annotations
- @FunctionalInterface()