Class PolynomialsUtils.JacobiKey

java.lang.Object
org.apache.commons.math3.analysis.polynomials.PolynomialsUtils.JacobiKey
Enclosing class:
PolynomialsUtils

private static class PolynomialsUtils.JacobiKey extends Object
Inner class for Jacobi polynomials keys.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    First exponent.
    private final int
    Second exponent.
  • Constructor Summary

    Constructors
    Constructor
    Description
    JacobiKey(int v, int w)
    Simple constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if the instance represent the same key as another instance.
    int
    Get hash code.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • v

      private final int v
      First exponent.
    • w

      private final int w
      Second exponent.
  • Constructor Details

    • JacobiKey

      JacobiKey(int v, int w)
      Simple constructor.
      Parameters:
      v - first exponent
      w - second exponent
  • Method Details

    • hashCode

      public int hashCode()
      Get hash code.
      Overrides:
      hashCode in class Object
      Returns:
      hash code
    • equals

      public boolean equals(Object key)
      Check if the instance represent the same key as another instance.
      Overrides:
      equals in class Object
      Parameters:
      key - other key
      Returns:
      true if the instance and the other key refer to the same polynomial