@FunctionalInterface public interface OrderedText
Modifier and Type | Field and Description |
---|---|
static OrderedText |
EMPTY
An empty text that does not call the visitors.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(CharacterVisitor visitor) |
static OrderedText |
concat(List<OrderedText> texts) |
static OrderedText |
concat(OrderedText first,
OrderedText second) |
static OrderedText |
innerConcat(List<OrderedText> texts) |
static OrderedText |
innerConcat(OrderedText text1,
OrderedText text2) |
static CharacterVisitor |
map(CharacterVisitor visitor,
it.unimi.dsi.fastutil.ints.Int2IntFunction codePointMapper) |
static OrderedText |
styled(int codePoint,
Style style) |
static OrderedText |
styledString(String string,
Style style) |
static OrderedText |
styledStringMapped(String string,
Style style,
it.unimi.dsi.fastutil.ints.Int2IntFunction codePointMapper) |
static final OrderedText EMPTY
@Environment(value=CLIENT) boolean accept(CharacterVisitor visitor)
@Environment(value=CLIENT) static OrderedText styled(int codePoint, Style style)
@Environment(value=CLIENT) static OrderedText styledString(String string, Style style)
@Environment(value=CLIENT) static OrderedText styledStringMapped(String string, Style style, it.unimi.dsi.fastutil.ints.Int2IntFunction codePointMapper)
@Environment(value=CLIENT) static CharacterVisitor map(CharacterVisitor visitor, it.unimi.dsi.fastutil.ints.Int2IntFunction codePointMapper)
@Environment(value=CLIENT) static OrderedText concat(OrderedText first, OrderedText second)
@Environment(value=CLIENT) static OrderedText concat(List<OrderedText> texts)
@Environment(value=CLIENT) static OrderedText innerConcat(OrderedText text1, OrderedText text2)
@Environment(value=CLIENT) static OrderedText innerConcat(List<OrderedText> texts)