Top Description Inners Fields Constructors Methods
org.eclipse.collections.impl.block.function

public final Class MaxSizeFunction

extends Object
Class Inheritance
Imports
java.util.Collection, .Map, org.eclipse.collections.api.block.function.Function2

MaxSizeFunction compares the size of strings, collections, or maps to determine the max size.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
public static final Function2<Integer, Collection<?>, Integer>
public static final Function2<Integer, Map<?, ?>, Integer>
public static final Function2<Integer, String, Integer>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

COLLECTIONback to summary
public static final Function2<Integer, Collection<?>, Integer> COLLECTION
MAPback to summary
public static final Function2<Integer, Map<?, ?>, Integer> MAP
STRINGback to summary
public static final Function2<Integer, String, Integer> STRING

Constructor Detail

MaxSizeFunctionback to summary
private MaxSizeFunction()
org.eclipse.collections.impl.block.function back to summary

private Class MaxSizeFunction.MaxSizeCollectionFunction

extends Object
implements Function2<Integer, Collection<?>, Integer>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.function.MaxSizeFunction.MaxSizeCollectionFunction
All Implemented Interfaces
org.eclipse.collections.api.block.function.Function2, java.io.Serializable, java.util.function.BiFunction

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Integer
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

MaxSizeCollectionFunctionback to summary
private MaxSizeCollectionFunction()

Method Detail

valueback to summary
public Integer value(Integer previousMax, Collection<?> collection)

Implements org.eclipse.collections.api.block.function.Function2.value.

Annotations
@Override
org.eclipse.collections.impl.block.function back to summary

private Class MaxSizeFunction.MaxSizeMapFunction

extends Object
implements Function2<Integer, Map<?, ?>, Integer>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.function.MaxSizeFunction.MaxSizeMapFunction
All Implemented Interfaces
org.eclipse.collections.api.block.function.Function2, java.io.Serializable, java.util.function.BiFunction

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Integer
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

MaxSizeMapFunctionback to summary
private MaxSizeMapFunction()

Method Detail

valueback to summary
public Integer value(Integer previousMax, Map<?, ?> map)

Implements org.eclipse.collections.api.block.function.Function2.value.

Annotations
@Override
org.eclipse.collections.impl.block.function back to summary

private Class MaxSizeFunction.MaxSizeStringFunction

extends Object
implements Function2<Integer, String, Integer>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.function.MaxSizeFunction.MaxSizeStringFunction
All Implemented Interfaces
org.eclipse.collections.api.block.function.Function2, java.io.Serializable, java.util.function.BiFunction

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Integer
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

MaxSizeStringFunctionback to summary
private MaxSizeStringFunction()

Method Detail

valueback to summary
public Integer value(Integer previousMax, String s)

Implements org.eclipse.collections.api.block.function.Function2.value.

Annotations
@Override