jdk/src/java.base/share/classes/sun/text/normalizer/Trie2.java
changeset 32649 2ee9017c7597
parent 31680 88c53c2293b4
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   191      * Get the value for a code point as stored in the Trie2.
   191      * Get the value for a code point as stored in the Trie2.
   192      *
   192      *
   193      * @param codePoint the code point
   193      * @param codePoint the code point
   194      * @return the value
   194      * @return the value
   195      */
   195      */
   196     abstract public int get(int codePoint);
   196     public abstract int get(int codePoint);
   197 
   197 
   198     /**
   198     /**
   199      * Get the trie value for a UTF-16 code unit.
   199      * Get the trie value for a UTF-16 code unit.
   200      *
   200      *
   201      * A Trie2 stores two distinct values for input in the lead surrogate
   201      * A Trie2 stores two distinct values for input in the lead surrogate
   228      * all characters that do not have any mappings are simply copied as is.
   228      * all characters that do not have any mappings are simply copied as is.
   229      *
   229      *
   230      * @param c the code point or lead surrogate value.
   230      * @param c the code point or lead surrogate value.
   231      * @return the value
   231      * @return the value
   232      */
   232      */
   233     abstract public int getFromU16SingleLead(char c);
   233     public abstract int getFromU16SingleLead(char c);
   234 
   234 
   235     /**
   235     /**
   236      * When iterating over the contents of a Trie2, Elements of this type are produced.
   236      * When iterating over the contents of a Trie2, Elements of this type are produced.
   237      * The iterator will return one item for each contiguous range of codepoints  having the same value.
   237      * The iterator will return one item for each contiguous range of codepoints  having the same value.
   238      *
   238      *