Class BidiPair

java.lang.Object
com.mta.tehreer.unicode.BidiPair

public class BidiPair extends Object
A BidiPair object represents a pair of a unicode code point at a specific index in source text.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The code point of actual character in source text.
    int
    The index of actual character in source text.
    int
    The code point of character forming a pair with actual character.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a bidi pair object.
    BidiPair(int charIndex, int actualCodePoint, int pairingCodePoint)
    Constructs a bidi pair object.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • charIndex

      public int charIndex
      The index of actual character in source text.
    • actualCodePoint

      public int actualCodePoint
      The code point of actual character in source text.
    • pairingCodePoint

      public int pairingCodePoint
      The code point of character forming a pair with actual character.
  • Constructor Details

    • BidiPair

      public BidiPair(int charIndex, int actualCodePoint, int pairingCodePoint)
      Constructs a bidi pair object.
      Parameters:
      charIndex - The index of actual character.
      actualCodePoint - The code point of actual character.
      pairingCodePoint - The code point of pairing character.
    • BidiPair

      public BidiPair()
      Constructs a bidi pair object.
  • Method Details