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

public final Class MinSizeFunction

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

MinSizeFunction compares the size of strings, collections, or maps to determine the min 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

MinSizeFunctionback to summary
private MinSizeFunction()
org.eclipse.collections.impl.block.function back to summary

private Class MinSizeFunction.MinSizeCollectionFunction

extends Object
implements Function2<Integer, Collection<?>, Integer>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.function.MinSizeFunction.MinSizeCollectionFunction
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

MinSizeCollectionFunctionback to summary
private MinSizeCollectionFunction()

Method Detail

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

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

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

private Class MinSizeFunction.MinSizeMapFunction

extends Object
implements Function2<Integer, Map<?, ?>, Integer>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.function.MinSizeFunction.MinSizeMapFunction
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

MinSizeMapFunctionback to summary
private MinSizeMapFunction()

Method Detail

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

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

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

private Class MinSizeFunction.MinSizeStringFunction

extends Object
implements Function2<Integer, String, Integer>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.function.MinSizeFunction.MinSizeStringFunction
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

MinSizeStringFunctionback to summary
private MinSizeStringFunction()

Method Detail

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

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

Annotations
@Override