Top Description Methods
org.jparsec.functors

public Interface Map2<A, B, T>

extends BiFunction<A, B, T>
Known Direct Subinterfaces
org.jparsec.functors.Binary
Annotations
@Deprecated
@FunctionalInterface
Imports
java.util.function.BiFunction

Deprecated

Use java.util.function.BiFunction instead.

Maps two objects of type A and B respectively to an object of type T.
Author
Ben Yu

Method Summary

Modifier and TypeMethod and Description
public default T
apply(A
the first function argument
a
,
B
the second function argument
b
)

Implements java.util.function.BiFunction.apply.

Applies this function to the given arguments.

public T
map(A a, B b)

Maps a and b to the target object.

Inherited from java.util.function.BiFunction:
andThen

Method Detail

applyback to summary
public default T apply(A a, B b)

Implements java.util.function.BiFunction.apply.

Doc from java.util.function.BiFunction.apply.

Applies this function to the given arguments.

Parameters
a:A

the first function argument

b:B

the second function argument

Returns:T

the function result

Annotations
@Override
mapback to summary
public T map(A a, B b)

Maps a and b to the target object.