< prev index next >

src/java.desktop/share/classes/java/awt/font/NumericShaper.java

Print this page




 394      */
 395     private int mask;
 396 
 397     /**
 398      * The context {@code Range} for contextual shaping or the {@code
 399      * Range} for non-contextual shaping. {@code null} for the bit
 400      * mask-based API.
 401      *
 402      * @since 1.7
 403      */
 404     private Range shapingRange;
 405 
 406     /**
 407      * {@code Set<Range>} indicating which Unicode ranges to
 408      * shape. {@code null} for the bit mask-based API.
 409      */
 410     private transient Set<Range> rangeSet;
 411 
 412     /**
 413      * rangeSet.toArray() value. Sorted by Range.base when the number
 414      * of elements is greater then BSEARCH_THRESHOLD.
 415      */
 416     private transient Range[] rangeArray;
 417 
 418     /**
 419      * If more than BSEARCH_THRESHOLD ranges are specified, binary search is used.
 420      */
 421     private static final int BSEARCH_THRESHOLD = 3;
 422 
 423     private static final long serialVersionUID = -8022764705923730308L;
 424 
 425     /** Identifies the Latin-1 (European) and extended range, and
 426      *  Latin-1 (European) decimal base.
 427      */
 428     public static final int EUROPEAN = 1<<0;
 429 
 430     /** Identifies the ARABIC range and decimal base. */
 431     public static final int ARABIC = 1<<1;
 432 
 433     /** Identifies the ARABIC range and ARABIC_EXTENDED decimal base. */
 434     public static final int EASTERN_ARABIC = 1<<2;




 394      */
 395     private int mask;
 396 
 397     /**
 398      * The context {@code Range} for contextual shaping or the {@code
 399      * Range} for non-contextual shaping. {@code null} for the bit
 400      * mask-based API.
 401      *
 402      * @since 1.7
 403      */
 404     private Range shapingRange;
 405 
 406     /**
 407      * {@code Set<Range>} indicating which Unicode ranges to
 408      * shape. {@code null} for the bit mask-based API.
 409      */
 410     private transient Set<Range> rangeSet;
 411 
 412     /**
 413      * rangeSet.toArray() value. Sorted by Range.base when the number
 414      * of elements is greater than BSEARCH_THRESHOLD.
 415      */
 416     private transient Range[] rangeArray;
 417 
 418     /**
 419      * If more than BSEARCH_THRESHOLD ranges are specified, binary search is used.
 420      */
 421     private static final int BSEARCH_THRESHOLD = 3;
 422 
 423     private static final long serialVersionUID = -8022764705923730308L;
 424 
 425     /** Identifies the Latin-1 (European) and extended range, and
 426      *  Latin-1 (European) decimal base.
 427      */
 428     public static final int EUROPEAN = 1<<0;
 429 
 430     /** Identifies the ARABIC range and decimal base. */
 431     public static final int ARABIC = 1<<1;
 432 
 433     /** Identifies the ARABIC range and ARABIC_EXTENDED decimal base. */
 434     public static final int EASTERN_ARABIC = 1<<2;


< prev index next >