package function
Type Members
- trait Creator[+T] extends Serializable
A constructor/factory, takes no parameters but creates a new value of type T every call.
A constructor/factory, takes no parameters but creates a new value of type T every call. Supports throwing
Exception
in the apply, which thejava.util.function.Supplier
counterpart does not.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Effect extends Serializable
An executable piece of code that takes no parameters and doesn't return any value.
An executable piece of code that takes no parameters and doesn't return any value.
Serializable
is needed to be able to grab line number for Java 8 lambdas. Supports throwingException
in the apply, which thejava.util.function.Effect
counterpart does not.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function[-T, +R] extends Serializable
A Function interface.
A Function interface. Used to create first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas. Supports throwingException
in the apply, which thejava.util.function.Function
counterpart does not.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function10[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, +R] extends Serializable
A Function interface.
A Function interface. Used to create 10-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function11[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, +R] extends Serializable
A Function interface.
A Function interface. Used to create 11-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function12[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, +R] extends Serializable
A Function interface.
A Function interface. Used to create 12-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function13[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, +R] extends Serializable
A Function interface.
A Function interface. Used to create 13-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function14[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, +R] extends Serializable
A Function interface.
A Function interface. Used to create 14-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function15[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, +R] extends Serializable
A Function interface.
A Function interface. Used to create 15-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function16[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, +R] extends Serializable
A Function interface.
A Function interface. Used to create 16-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function17[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, +R] extends Serializable
A Function interface.
A Function interface. Used to create 17-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function18[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, +R] extends Serializable
A Function interface.
A Function interface. Used to create 18-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function19[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, +R] extends Serializable
A Function interface.
A Function interface. Used to create 19-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function2[-T1, -T2, +R] extends Serializable
A Function interface.
A Function interface. Used to create 2-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas. Supports throwingException
in the apply, which thejava.util.function.BiFunction
counterpart does not.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function20[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, +R] extends Serializable
A Function interface.
A Function interface. Used to create 20-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function21[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, +R] extends Serializable
A Function interface.
A Function interface. Used to create 21-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function22[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, -T22, +R] extends Serializable
A Function interface.
A Function interface. Used to create 22-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function3[-T1, -T2, -T3, +R] extends Serializable
A Function interface.
A Function interface. Used to create 3-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function4[-T1, -T2, -T3, -T4, +R] extends Serializable
A Function interface.
A Function interface. Used to create 4-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function5[-T1, -T2, -T3, -T4, -T5, +R] extends Serializable
A Function interface.
A Function interface. Used to create 5-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function6[-T1, -T2, -T3, -T4, -T5, -T6, +R] extends Serializable
A Function interface.
A Function interface. Used to create 6-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function7[-T1, -T2, -T3, -T4, -T5, -T6, -T7, +R] extends Serializable
A Function interface.
A Function interface. Used to create 7-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function8[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, +R] extends Serializable
A Function interface.
A Function interface. Used to create 8-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Function9[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, +R] extends Serializable
A Function interface.
A Function interface. Used to create 9-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Predicate[-T] extends Serializable
Java API: Defines a criteria and determines whether the parameter meets this criteria.
Java API: Defines a criteria and determines whether the parameter meets this criteria.
Serializable
is needed to be able to grab line number for Java 8 lambdas. Supports throwingException
in the apply, which thejava.util.function.Predicate
counterpart does not.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure[-T] extends Serializable
A Procedure is like a Function, but it doesn't produce a return value.
A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas. Supports throwingException
in the apply, which thejava.util.function.Consumer
counterpart does not.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure10[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 10-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure11[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 11-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure12[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 12-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure13[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 13-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure14[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 14-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure15[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 15-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure16[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 16-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure17[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 17-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure18[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 18-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure19[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 19-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure2[-T1, -T2] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 2-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure20[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 20-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure21[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 21-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure22[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, -T22] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 22-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure3[-T1, -T2, -T3] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 3-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure4[-T1, -T2, -T3, -T4] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 4-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure5[-T1, -T2, -T3, -T4, -T5] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 5-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure6[-T1, -T2, -T3, -T4, -T5, -T6] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 6-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure7[-T1, -T2, -T3, -T4, -T5, -T6, -T7] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 7-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure8[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 8-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()
- trait Procedure9[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9] extends Serializable
A Consumer interface.
A Consumer interface. Used to create 9-arg consumers in Java. A Procedure is like a Function, but it doesn't produce a return value.
Serializable
is needed to be able to grab line number for Java 8 lambdas.- Annotations
- @nowarn() @SerialVersionUID() @FunctionalInterface()