hunt.Functions

Members

Aliases

Action
alias Action = void delegate()

An action.

Action1
alias Action1(T) = void delegate(T t)

A one-argument action.

Action2
alias Action2(T1, T2) = void delegate(T1 t1, T2 t2)

A two-argument action.

Action3
alias Action3(T1, T2, T3) = void delegate(T1 t1, T2 t2, T3 t3)

A three-argument action.

Action4
alias Action4(T1, T2, T3, T4) = void delegate(T1 t1, T2 t2, T3 t3, T4 t4)

A four-argument action.

Action5
alias Action5(T1, T2, T3, T4, T5) = void delegate(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)

A five-argument action.

Action6
alias Action6(T1, T2, T3, T4, T5, T6) = void delegate(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6)

A six-argument action.

BiConsumer
alias BiConsumer = Action2

Represents an operation that accepts two input arguments and returns no result. This is the two-arity specialization of {@link Consumer}. Unlike most other functional interfaces, {@code BiConsumer} is expected to operate via side-effects.

BiFunction
alias BiFunction = Func2

Represents a function that accepts two arguments and produces a result. This is the two-arity specialization of {@link Function}.

Consumer
alias Consumer = Action1

Represents an operation that accepts a single input argument and returns no result. Unlike most other functional interfaces, {@code Consumer} is expected to operate via side-effects.

Func
alias Func(R) = R delegate()

Represents a function.

Func1
alias Func1(T1, R) = R delegate(T1 t1)

Represents a function with one argument.

Func2
alias Func2(T1, T2, R) = R delegate(T1 t1, T2 t2)

Represents a function with two arguments.

Func3
alias Func3(T1, T2, T3, R) = R delegate(T1 t1, T2 t2, T3 t3)

Represents a function with three arguments.

Func4
alias Func4(T1, T2, T3, T4, R) = R delegate(T1 t1, T2 t2, T3 t3, T4 t4)

Represents a function with four arguments.

Func5
alias Func5(T1, T2, T3, T4, T5, R) = R delegate(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)

Represents a function with five arguments.

Func6
alias Func6(T1, T2, T3, T4, T5, T6, R) = R delegate(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6)

Represents a function with six arguments.

Function
alias Function = Func1
Predicate
alias Predicate(T) = bool delegate(T t)
Supplier
alias Supplier = Func

Represents a supplier of results.

Classes

EventArgs
class EventArgs

Templates

ActionN
template ActionN(T...)

A vector-argument action.

Meta