Class PluralRanges

    • Constructor Summary

      Constructors 
      Constructor Description
      PluralRanges()
      Deprecated.
      This API is ICU internal only.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void add​(com.ibm.icu.impl.StandardPlural rangeStart, com.ibm.icu.impl.StandardPlural rangeEnd, com.ibm.icu.impl.StandardPlural result)
      Deprecated.
      This API is ICU internal only.
      PluralRanges cloneAsThawed()
      Deprecated.
      This API is ICU internal only.
      int compareTo​(PluralRanges that)
      Deprecated.
      This API is ICU internal only.
      boolean equals​(Object other)
      Deprecated.
      This API is ICU internal only.
      PluralRanges freeze()
      Deprecated.
      This API is ICU internal only.
      com.ibm.icu.impl.StandardPlural get​(com.ibm.icu.impl.StandardPlural start, com.ibm.icu.impl.StandardPlural end)
      Deprecated.
      This API is ICU internal only.
      int hashCode()
      Deprecated.
      This API is ICU internal only.
      boolean isExplicit​(com.ibm.icu.impl.StandardPlural start, com.ibm.icu.impl.StandardPlural end)
      Deprecated.
      This API is ICU internal only.
      boolean isExplicitlySet​(com.ibm.icu.impl.StandardPlural count)
      Deprecated.
      This API is ICU internal only.
      boolean isFrozen()
      Deprecated.
      This API is ICU internal only.
      String toString()
      Deprecated.
      This API is ICU internal only.
    • Constructor Detail

      • PluralRanges

        @Deprecated
        public PluralRanges()
        Deprecated.
        This API is ICU internal only.
        Constructor
    • Method Detail

      • add

        @Deprecated
        public void add​(com.ibm.icu.impl.StandardPlural rangeStart,
                        com.ibm.icu.impl.StandardPlural rangeEnd,
                        com.ibm.icu.impl.StandardPlural result)
        Deprecated.
        This API is ICU internal only.
        Internal method for building. If the start or end are null, it means everything of that type.
        Parameters:
        rangeStart - plural category for the start of the range
        rangeEnd - plural category for the end of the range
        result - the resulting plural category
      • get

        @Deprecated
        public com.ibm.icu.impl.StandardPlural get​(com.ibm.icu.impl.StandardPlural start,
                                                   com.ibm.icu.impl.StandardPlural end)
        Deprecated.
        This API is ICU internal only.
        Returns the appropriate plural category for a range from start to end. If there is no available data, then 'end' is returned as an implicit value. (Such an implicit value can be tested for with isExplicit(com.ibm.icu.impl.StandardPlural, com.ibm.icu.impl.StandardPlural).)
        Parameters:
        start - plural category for the start of the range
        end - plural category for the end of the range
        Returns:
        the resulting plural category, or 'end' if there is no data.
      • isExplicit

        @Deprecated
        public boolean isExplicit​(com.ibm.icu.impl.StandardPlural start,
                                  com.ibm.icu.impl.StandardPlural end)
        Deprecated.
        This API is ICU internal only.
        Returns whether the appropriate plural category for a range from start to end is explicitly in the data (vs given an implicit value). See also get(com.ibm.icu.impl.StandardPlural, com.ibm.icu.impl.StandardPlural).
        Parameters:
        start - plural category for the start of the range
        end - plural category for the end of the range
        Returns:
        whether the value for (start,end) is explicit or not.
      • isExplicitlySet

        @Deprecated
        public boolean isExplicitlySet​(com.ibm.icu.impl.StandardPlural count)
        Deprecated.
        This API is ICU internal only.
        Internal method to determines whether the StandardPluralCategories was explicitly used in any add statement.
        Parameters:
        count - plural category to test
        Returns:
        true if set
      • hashCode

        @Deprecated
        public int hashCode()
        Deprecated.
        This API is ICU internal only.
        Overrides:
        hashCode in class Object
      • isFrozen

        @Deprecated
        public boolean isFrozen()
        Deprecated.
        This API is ICU internal only.
        Determines whether the object has been frozen or not.
        Specified by:
        isFrozen in interface Freezable<PluralRanges>