Index
All Classes and Interfaces|All Packages
C
- cols() - Method in record class com.github.sttk.linebreak.Term.Size
-
Returns the value of the
cols
record component. - com.github.sttk.linebreak - module com.github.sttk.linebreak
-
Defines the module of this library.
- com.github.sttk.linebreak - package com.github.sttk.linebreak
-
This package contains modules related to line breaking.
E
- equals(Object) - Method in record class com.github.sttk.linebreak.Term.Size
-
Indicates whether some other object is "equal to" this one.
G
- getCodepointWidth(int) - Static method in class com.github.sttk.linebreak.Unicode
-
Returns the display width of the specified Unicode codepoiot.
- getCols() - Static method in class com.github.sttk.linebreak.Term
-
Returns the column count of the current terminal.
- getSize() - Static method in class com.github.sttk.linebreak.Term
-
Gets the size of the current terminal.
- getTextWidth(String) - Static method in class com.github.sttk.linebreak.Unicode
-
Returns the display width of the specified Unicode text.
H
- hashCode() - Method in record class com.github.sttk.linebreak.Term.Size
-
Returns a hash code value for this object.
- hasNext() - Method in class com.github.sttk.linebreak.LineIter
-
Checks whether the remaining string exists or not.
I
- init(String) - Method in class com.github.sttk.linebreak.LineIter
-
Re-initializes with an argument string for reusing this instance.
- isPrint(int) - Static method in class com.github.sttk.linebreak.Unicode
-
Checks whether the specified codepoint is one of the printable characters that includes letters, marks, numbers, punctuations, symbols from Unicode categories L, M, N, P, S, and the ASCII space character,
- isSpace(int) - Static method in class com.github.sttk.linebreak.Unicode
-
Checks whether the specified codepoint is a space character as defined by Unicode's White Space property.
L
- LineIter - Class in com.github.sttk.linebreak
-
LineIter
is the class that outputs the given string line by line. - LineIter(String, int) - Constructor for class com.github.sttk.linebreak.LineIter
-
Is the constructor that creates a
LineIter
instance which outputs the given string line by line.
N
R
- rows() - Method in record class com.github.sttk.linebreak.Term.Size
-
Returns the value of the
rows
record component.
S
- setIndent(String) - Method in class com.github.sttk.linebreak.LineIter
-
Sets an indentation for the subsequent lines.
- Size(int, int) - Constructor for record class com.github.sttk.linebreak.Term.Size
-
Creates an instance of a
Size
record class.
T
- Term - Class in com.github.sttk.linebreak
-
Term
is the class that provides static methods to get the informations about the terminal. - Term.Size - Record Class in com.github.sttk.linebreak
-
Size
is the record class which represents a terminzal size holding its column count and row count. - toString() - Method in record class com.github.sttk.linebreak.Term.Size
-
Returns a string representation of this record class.
U
- Unicode - Class in com.github.sttk.linebreak
-
Unicode
is the class that provides static methods to operate or check Unicode characters or texts.
All Classes and Interfaces|All Packages