Top Description Interfaces Classes
[default module]

Package rx.functions


Functional interfaces of functions and actions of arity 0 to 9 and related utility classes.

Interface Summary

Modifier and TypeInterface and Description
public interface
Action

All Action interfaces extend from this.

public interface
Action0

A zero-argument action.

public interface
Action1<
the first argument type
T
>

A one-argument action.

public interface
Action2<
the first argument type
T1
,
the second argument type
T2
>

A two-argument action.

public interface
Action3<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
>

A three-argument action.

public interface
Action4<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
>

A four-argument action.

public interface
Action5<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
>

A five-argument action.

public interface
Action6<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
,
the sixth argument type
T6
>

A six-argument action.

public interface
Action7<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
,
the sixth argument type
T6
,
the seventh argument type
T7
>

A seven-argument action.

public interface
Action8<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
,
the sixth argument type
T6
,
the seventh argument type
T7
,
the eighth argument type
T8
>

An eight-argument action.

public interface
Action9<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
,
the sixth argument type
T6
,
the seventh argument type
T7
,
the eighth argument type
T8
,
the ninth argument type
T9
>

A nine-argument action.

public interface
ActionN

A vector-argument action.

public interface
Cancellable

A functional interface that has a single close method that can throw.

public interface
Func0<
the result type
R
>

Represents a function with zero arguments.

public interface
Func1<
the first argument type
T
,
the result type
R
>

Represents a function with one argument.

public interface
Func2<
the first argument type
T1
,
the second argument type
T2
,
the result type
R
>

Represents a function with two arguments.

public interface
Func3<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the result type
R
>

Represents a function with three arguments.

public interface
Func4<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the result type
R
>

Represents a function with four arguments.

public interface
Func5<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
,
the result type
R
>

Represents a function with five arguments.

public interface
Func6<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
,
the sixth argument type
T6
,
the result type
R
>

Represents a function with six arguments.

public interface
Func7<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
,
the sixth argument type
T6
,
the seventh argument type
T7
,
the result type
R
>

Represents a function with seven arguments.

public interface
Func8<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
,
the sixth argument type
T6
,
the seventh argument type
T7
,
the eighth argument type
T8
,
the result type
R
>

Represents a function with eight arguments.

public interface
Func9<
the first argument type
T1
,
the second argument type
T2
,
the third argument type
T3
,
the fourth argument type
T4
,
the fifth argument type
T5
,
the sixth argument type
T6
,
the seventh argument type
T7
,
the eighth argument type
T8
,
the ninth argument type
T9
,
the result type
R
>

Represents a function with nine arguments.

public interface
FuncN<
the result type
R
>

Represents a vector-argument function.

public interface
Function

All Func and Action interfaces extend from this.

Class Summary

Modifier and TypeClass and Description
public class
Actions

Utility class for the Action interfaces.

public class