- All Known Implementing Classes:
UArrayComponent,UCollectionComponent,UEntryComponent,UGeneralComponent,UThrowableComponent
public interface UToStringComponent
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThe method used to identify if the current instance only prints arrays of data.default @NotNull UToStringManagermanager()The parent string managerClass<?>[]Gets the classes supported by that instanceGenerates a text with the representation of the object.
-
Method Details
-
manager
The parent string manager- Returns:
- the
UToStringManagerImplinstance
-
arraysOnly
boolean arraysOnly()The method used to identify if the current instance only prints arrays of data.- Returns:
trueif the instance only prints arrays of data orfalseotherwise
-
supportedElements
Class<?>[] supportedElements()Gets the classes supported by that instance- Returns:
- the supported classes
-
toString
Generates a text with the representation of the object. Very similar to what theObject.toString()method does, but it ensures that all objects have an easily identifiable representation.- Parameters:
object- the object that you want to get the text representationverbose- option used to determine if the output will be long or simple- Returns:
- object string representation
-