UCharacterDirection


public final class UCharacterDirection
extends Object implements UCharacterEnums.ECharacterDirection

java.lang.Object
   ↳ android.icu.lang.UCharacterDirection


Enumerated Unicode character linguistic direction constants. Used as return results from UCharacter

This class is not subclassable

Summary

Inherited constants

int ARABIC_NUMBER

Directional type AN

int BLOCK_SEPARATOR

Directional type B

int BOUNDARY_NEUTRAL

Directional type BN

int COMMON_NUMBER_SEPARATOR

Directional type CS

byte DIRECTIONALITY_ARABIC_NUMBER

Equivalent to Character.DIRECTIONALITY_ARABIC_NUMBER.

byte DIRECTIONALITY_BOUNDARY_NEUTRAL

Equivalent to Character.DIRECTIONALITY_BOUNDARY_NEUTRAL.

byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR

Equivalent to Character.DIRECTIONALITY_COMMON_NUMBER_SEPARATOR.

byte DIRECTIONALITY_EUROPEAN_NUMBER

Equivalent to Character.DIRECTIONALITY_EUROPEAN_NUMBER.

byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR

Equivalent to Character.DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR.

byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR

Equivalent to Character.DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR.

byte DIRECTIONALITY_LEFT_TO_RIGHT

Equivalent to Character.DIRECTIONALITY_LEFT_TO_RIGHT.

byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING

Equivalent to Character.DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING.

byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE

Equivalent to Character.DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE.

byte DIRECTIONALITY_NONSPACING_MARK

Equivalent to Character.DIRECTIONALITY_NONSPACING_MARK.

byte DIRECTIONALITY_OTHER_NEUTRALS

Equivalent to Character.DIRECTIONALITY_OTHER_NEUTRALS.

byte DIRECTIONALITY_PARAGRAPH_SEPARATOR

Equivalent to Character.DIRECTIONALITY_PARAGRAPH_SEPARATOR.

byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT

Equivalent to Character.DIRECTIONALITY_POP_DIRECTIONAL_FORMAT.

byte DIRECTIONALITY_RIGHT_TO_LEFT

Equivalent to Character.DIRECTIONALITY_RIGHT_TO_LEFT.

byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC

Equivalent to Character.DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC.

byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING

Equivalent to Character.DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING.

byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE

Equivalent to Character.DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE.

byte DIRECTIONALITY_SEGMENT_SEPARATOR

Equivalent to Character.DIRECTIONALITY_SEGMENT_SEPARATOR.

byte DIRECTIONALITY_UNDEFINED

Undefined bidirectional character type.

byte DIRECTIONALITY_WHITESPACE

Equivalent to Character.DIRECTIONALITY_WHITESPACE.

int DIR_NON_SPACING_MARK

Directional type NSM

int EUROPEAN_NUMBER

Directional type EN

int EUROPEAN_NUMBER_SEPARATOR

Directional type ES

int EUROPEAN_NUMBER_TERMINATOR

Directional type ET

byte FIRST_STRONG_ISOLATE

Directional type FSI

int LEFT_TO_RIGHT

Directional type L

int LEFT_TO_RIGHT_EMBEDDING

Directional type LRE

byte LEFT_TO_RIGHT_ISOLATE

Directional type LRI

int LEFT_TO_RIGHT_OVERRIDE

Directional type LRO

int OTHER_NEUTRAL

Directional type ON

int POP_DIRECTIONAL_FORMAT

Directional type PDF

byte POP_DIRECTIONAL_ISOLATE

Directional type PDI

int RIGHT_TO_LEFT

Directional type R

int RIGHT_TO_LEFT_ARABIC

Directional type AL

int RIGHT_TO_LEFT_EMBEDDING

Directional type RLE

byte RIGHT_TO_LEFT_ISOLATE

Directional type RLI

int RIGHT_TO_LEFT_OVERRIDE

Directional type RLO

int SEGMENT_SEPARATOR

Directional type S

int WHITE_SPACE_NEUTRAL

Directional type WS

Public methods

static String toString(int dir)

Gets the name of the argument direction

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Public methods

toString

Added in API level 24
public static String toString (int dir)

Gets the name of the argument direction

Parameters
dir int: direction type to retrieve name

Returns
String directional name