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

public final Class SubtractFunction

extends Object
Class Inheritance
Imports
org.eclipse.collections.api.block.function.Function2

Provides static Function2 implementations which can be used by Iterate.injectInto for adding primitives or to a collection.

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<Double, Double, Double>
public static final Function2<Integer, Integer, Integer>
public static final Function2<Long, Long, Long>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DOUBLEback to summary
public static final Function2<Double, Double, Double> DOUBLE
INTEGERback to summary
public static final Function2<Integer, Integer, Integer> INTEGER
LONGback to summary
public static final Function2<Long, Long, Long> LONG

Constructor Detail

SubtractFunctionback to summary
private SubtractFunction()
org.eclipse.collections.impl.block.function back to summary

private Class SubtractFunction.SubtractDoubleFunction

extends Object
implements Function2<Double, Double, Double>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.function.SubtractFunction.SubtractDoubleFunction
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 Double
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

SubtractDoubleFunctionback to summary
private SubtractDoubleFunction()

Method Detail

valueback to summary
public Double value(Double argument1, Double argument2)

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

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

private Class SubtractFunction.SubtractIntegerFunction

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

SubtractIntegerFunctionback to summary
private SubtractIntegerFunction()

Method Detail

valueback to summary
public Integer value(Integer argument1, Integer argument2)

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

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

private Class SubtractFunction.SubtractLongFunction

extends Object
implements Function2<Long, Long, Long>
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.block.function.SubtractFunction.SubtractLongFunction
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 Long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

SubtractLongFunctionback to summary
private SubtractLongFunction()

Method Detail

valueback to summary
public Long value(Long argument1, Long argument2)

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

Annotations
@Override