< prev index next >

src/java.base/share/classes/sun/text/normalizer/CharTrie.java

Print this page




 154 
 155         // get the real data from the folded lead/trail units
 156         if (offset > 0) {
 157             return getRawOffset(offset, (char)(trail & SURROGATE_MASK_));
 158         }
 159 
 160         // return -1 if there is an error, in this case we return the default
 161         // value: m_initialValue_
 162         return -1;
 163     }
 164 
 165     // private data members --------------------------------------------
 166 
 167     /**
 168      * Default value
 169      */
 170     private char m_initialValue_;
 171     /**
 172      * Array of char data
 173      */
 174     private char m_data_[];
 175 }


 154 
 155         // get the real data from the folded lead/trail units
 156         if (offset > 0) {
 157             return getRawOffset(offset, (char)(trail & SURROGATE_MASK_));
 158         }
 159 
 160         // return -1 if there is an error, in this case we return the default
 161         // value: m_initialValue_
 162         return -1;
 163     }
 164 
 165     // private data members --------------------------------------------
 166 
 167     /**
 168      * Default value
 169      */
 170     private char m_initialValue_;
 171     /**
 172      * Array of char data
 173      */
 174     private char[] m_data_;
 175 }
< prev index next >