Class PrimeFactorCount

java.lang.Object
org.drip.numerical.common.PrimeFactorCount

public class PrimeFactorCount
extends java.lang.Object
Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    PrimeFactorCount​(int primeFactor, int count)
    PrimeFactorCount Constructor
  • Method Summary

    Modifier and Type Method Description
    int count()
    Retrieve the Count of the Prime Factor
    int primeFactor()
    Retrieve the Prime Factor

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PrimeFactorCount

      public PrimeFactorCount​(int primeFactor, int count) throws java.lang.Exception
      PrimeFactorCount Constructor
      Parameters:
      primeFactor - Prime Factor
      count - Count of the Prime Factor
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • primeFactor

      public int primeFactor()
      Retrieve the Prime Factor
      Returns:
      The Prime Factor
    • count

      public int count()
      Retrieve the Count of the Prime Factor
      Returns:
      The Count of the Prime Factor