toString method

String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

dc.String toString(){
final dc.StringBuffer sb$1=dc.StringBuffer();
final lcoc_core.SeqListMixin<E> o7570$1=this;
final dc.StringBuffer string_sink7571$1=sb$1;
if((o7570$1 is lcoc_core.IPrint$iface)){
(o7570$1 as lcoc_core.IPrint$iface).$_print$1(string_sink7571$1, );
}else{
(lcoc_core.IPrint.extensions(o7570$1, ) as lcoc_core.IPrint$ext).$_print$1(o7570$1, string_sink7571$1, );
}
return (sb$1.toString());
}