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

public Class BoundedMaxAggregator

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 final int

Constructor Summary

AccessConstructor and Description
public
BoundedMaxAggregator(int maxBound)

Method Summary

Modifier and TypeMethod and Description
public 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

maxBoundback to summary
public final int maxBound

Constructor Detail

BoundedMaxAggregatorback to summary
public BoundedMaxAggregator(int maxBound)

Method Detail

applyback to summary
public 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:Integer

the function result

Annotations
@Override