Class Ratio

  • All Implemented Interfaces:
    CqlType

    public class Ratio
    extends java.lang.Object
    implements CqlType
    • Constructor Detail

      • Ratio

        public Ratio()
    • Method Detail

      • getNumerator

        public Quantity getNumerator()
      • setNumerator

        public Ratio setNumerator​(Quantity numerator)
      • getDenominator

        public Quantity getDenominator()
      • setDenominator

        public Ratio setDenominator​(Quantity denominator)
      • equivalent

        public java.lang.Boolean equivalent​(java.lang.Object other)
        Specified by:
        equivalent in interface CqlType
      • equal

        public java.lang.Boolean equal​(java.lang.Object other)
        Specified by:
        equal in interface CqlType
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object