public class Formatted
extends java.lang.Object
| Constructor and Description |
|---|
Formatted(FormattedSection... formattedSections)
Create a new formatted text.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
FormattedSection[] |
getFormattedSections()
Returns sections with separate formatting options that are a part of this formatted text.
|
int |
hashCode() |
java.lang.Object[] |
toArray() |
java.lang.String |
toString() |
public Formatted(FormattedSection... formattedSections)
formattedSections - sections with formatting optionspublic FormattedSection[] getFormattedSections()
public java.lang.Object[] toArray()
public boolean equals(@Nullable
java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object