Class IntegerDivision

java.lang.Object
org.zfcj.math.numbers.IntegerDivision
All Implemented Interfaces:
org.zfcj.math.set.BiFunction<Integer,Integer,Integer>, org.zfcj.math.set.BinaryOperator<Integer>

public class IntegerDivision extends Object implements org.zfcj.math.set.BinaryOperator<Integer>
A BinaryOperator that divides one Integers by another and returns their quotient
  • Constructor Details

    • IntegerDivision

      public IntegerDivision()
  • Method Details

    • apply

      public Integer apply(Integer i, Integer j)
      Description copied from interface: org.zfcj.math.set.BiFunction
      Applies the function to the given input elements t and u and returns the corresponding output element
      Specified by:
      apply in interface org.zfcj.math.set.BiFunction<Integer,Integer,Integer>
      Parameters:
      i - an element of the first set
      j - an element of the second set