< prev index next >

src/java.base/share/classes/java/util/regex/EmojiData.java.template

Print this page

        

*** 38,55 **** * * @param cp code point to examine * @return true if {@code cp} is an extended pictographic */ static boolean isExtendedPictographic(int cp) { - if (cp < 0x2000) { - return - %%%EXTPICT_LOW%%% - } else { - return isHigh(cp); - } - } - - private static boolean isHigh(int cp) { return ! %%%EXTPICT_HIGH%%% } } --- 38,46 ---- * * @param cp code point to examine * @return true if {@code cp} is an extended pictographic */ static boolean isExtendedPictographic(int cp) { return ! %%%EXTPICT%%% } }
< prev index next >