APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.icu.text

pack-priv Class BidiRun

extends Object
Class Inheritance

A BidiRun represents a sequence of characters at the same embedding level. The Bidi algorithm decomposes a piece of text into sequences of characters at the same embedding level, each such sequence is called a "run".

A BidiRun represents such a run by storing its essential properties, but does not duplicate the characters which form the run.

The "limit" of the run is the position just after the last character, i.e., one more than that position.

This class has no public constructor, and its members cannot be modified by users.

See Also
com.ibm.icu.text.Bidi

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv byte
pack-priv int
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
BidiRun(int start, int limit, byte embeddingLevel)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv byte
getEmbeddingLevel()

Get level of run

pack-priv boolean

Returns:

true if the embedding level of this run is even, i.e. it is a left-to-right run.
isEvenRun
()

Check if run level is even

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

insertRemoveback to summary
pack-priv int insertRemove
levelback to summary
pack-priv byte level
limitback to summary
pack-priv int limit
startback to summary
pack-priv int start

Constructor Detail

BidiRunback to summary
pack-priv BidiRun()
BidiRunback to summary
pack-priv BidiRun(int start, int limit, byte embeddingLevel)

Method Detail

copyFromback to summary
pack-priv void copyFrom(BidiRun run)
getEmbeddingLevelback to summary
pack-priv byte getEmbeddingLevel()

Get level of run

isEvenRunback to summary
pack-priv boolean isEvenRun()

Check if run level is even

Returns:boolean

true if the embedding level of this run is even, i.e. it is a left-to-right run.