Skip to content

Commit badfa2f

Browse files
committed
[lib] Wrote documentation of char bidi classes method
1 parent 9c451e9 commit badfa2f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tehreer-android/src/main/java/com/mta/tehreer/unicode/BidiAlgorithm.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ private String checkRange(int charStart, int charEnd) {
140140
return null;
141141
}
142142

143+
/**
144+
* Returns a list containing the bidi classes of all characters in source text. The valid bidi
145+
* class values are available in {@link BidiClass} as static constants.
146+
*
147+
* @return A list containing the bidi classes of all characters in source text.
148+
*/
143149
public IntList getCharBidiClasses() {
144150
return new UInt8BufferIntList(this,
145151
nGetCharBidiClassesPtr(nativeAlgorithm),

0 commit comments

Comments
 (0)