Class ARing<E>

    • Constructor Detail

      • ARing

        public ARing()
    • Method Detail

      • isPerfectPower

        public boolean isPerfectPower()
        Description copied from interface: Ring
        Returns whether the cardinality is a perfect power (p^k with k > 1)
        Specified by:
        isPerfectPower in interface Ring<E>
        Returns:
        whether the cardinality is a perfect power (p^k with k > 1)
      • perfectPowerBase

        public BigInteger perfectPowerBase()
        Description copied from interface: Ring
        Returns base so that cardinality == base^exponent or null if cardinality is not finite
        Specified by:
        perfectPowerBase in interface Ring<E>
        Returns:
        base so that cardinality == base^exponent or null if cardinality is not finite
      • perfectPowerExponent

        public BigInteger perfectPowerExponent()
        Description copied from interface: Ring
        Returns exponent so that cardinality == base^exponent or null if cardinality is not finite
        Specified by:
        perfectPowerExponent in interface Ring<E>
        Returns:
        exponent so that cardinality == base^exponent or null if cardinality is not finite