public void To_str(String_bldr sb) { XtoStr_fld(sb, ns) .XtoStr_fld(sb, Fils) .XtoStr_fld(sb, Size) .XtoStr_fld(sb, SizeMax) .XtoStr_fld(sb, SizeMaxIdx) .XtoStr_fld(sb, SizeMin); sb.Add(Int_.To_str(SizeMinIdx)); }
public String To_str(Object o) { if (o == null) return "<<NULL>>"; Class<?> type = Type_adp_.ClassOf_obj(o); String rv = null; if (type == String.class) rv = String_.cast(o); else if (Int_.TypeMatch(type)) return Int_.To_str(Int_.cast(o)); else if (Type_adp_.Eq(type, Bool_.Cls_ref_type)) return Yn.To_str(Bool_.cast(o)); else if (type == DateAdp.class) return DateAdp_.cast(o).XtoStr_gplx(); else rv = Object_.Xto_str_strict_or_empty(o); return String_.Replace(rv, "'", "''"); }
String Make_key(int ns_id, byte[] ttl) { return Int_.To_str(ns_id) + "|" + String_.new_u8(ttl); }
public byte[] Format_num(int val) { return Format_num(Bry_.new_a7(Int_.To_str(val))); }
Xob_stat_itm XtoStr_fld(String_bldr sb, int v) { sb.Add(Int_.To_str(v)).Add(Xob_stat_itm.Dlm); return this; }