Class NumberOperands


  • public class NumberOperands
    extends java.lang.Object
    Operands for use in evaluating localized plural rules: See: http://www.unicode.org/reports/tr35/tr35-numbers.html#Plural_Operand_Meanings symbol value ---------------- n absolute value of the source number (integer and decimals) i integer digits of n v number of visible fraction digits in n, with trailing zeros w number of visible fraction digits in n, without trailing zeros f visible fractional digits in n, with trailing zeros t visible fractional digits in n, without trailing zeros
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long c  
      long f  
      long i  
      long n  
      long t  
      long v  
      long w  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long get​(char op)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • n

        public long n
      • i

        public long i
      • v

        public long v
      • w

        public long w
      • f

        public long f
      • t

        public long t
      • c

        public long c
    • Constructor Detail

      • NumberOperands

        public NumberOperands​(Decimal d)
      • NumberOperands

        public NumberOperands​(Decimal d,
                              int c)
    • Method Detail

      • get

        public long get​(char op)