Class CaseVariants


  • public class CaseVariants
    extends java.lang.Object
    This class holds data about the case-variants of Unicode characters. The data is automatically generated from the Unicode database.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int[] ROMAN_VARIANTS
      Get the case variants of roman letters (A-Z, a-z), other than the letters A-Z and a-z themselves
    • Constructor Summary

      Constructors 
      Constructor Description
      CaseVariants()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int[] getCaseVariants​(int code)
      Get the case variants of a character
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ROMAN_VARIANTS

        public static int[] ROMAN_VARIANTS
        Get the case variants of roman letters (A-Z, a-z), other than the letters A-Z and a-z themselves
    • Constructor Detail

      • CaseVariants

        public CaseVariants()
    • Method Detail

      • getCaseVariants

        public static int[] getCaseVariants​(int code)
        Get the case variants of a character
        Parameters:
        code - the character whose case variants are required
        Returns:
        the case variants of the character, excluding the character itself