Class GraphemeClusterProducer

    • Constructor Detail

      • GraphemeClusterProducer

        public GraphemeClusterProducer()
    • Method Detail

      • createGraphemeCluster

        public boolean createGraphemeCluster​(int codePoint)
        Returns an alternating counter for the grapheme clusters. The value returned can be tested for equality; if two subsequent calls return the same value, the characters of these calls belong to the same cluster.
        Parameters:
        codePoint -
        Returns:
        true, if a new cluster starts, false if the old cluster continues.