Top Fields Constructors Methods
com.vladsch.flexmark.util.collection

public Class MinAggregator

extends Object
implements BiFunction<Integer, Integer, Integer>
Class Inheritance
All Implemented Interfaces
java.util.function.BiFunction
Imports
org.jetbrains.annotations.Nullable, java.util.function.BiFunction

Field Summary

Modifier and TypeField and Description
public static final MinAggregator

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public @Nullable Integer
apply(@Nullable Integer
the first function argument
aggregate
,
@Nullable Integer
the second function argument
next
)

Implements java.util.function.BiFunction.apply.

Applies this function to the given arguments.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final MinAggregator INSTANCE

Constructor Detail

MinAggregatorback to summary
private MinAggregator()

Method Detail

applyback to summary
public @Nullable Integer apply(@Nullable Integer aggregate, @Nullable Integer next)

Implements java.util.function.BiFunction.apply.

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

Applies this function to the given arguments.

Parameters
aggregate:@Nullable Integer

the first function argument

next:@Nullable Integer

the second function argument

Returns:@Nullable Integer

the function result

Annotations
@Override
@Nullable