1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00
This commit is contained in:
gnosygnu
2015-08-17 02:09:16 -04:00
parent 34c34f227c
commit df10db140c
421 changed files with 4867 additions and 2429 deletions

View File

@@ -41,7 +41,7 @@ public class App_cmd_arg {
return this;
}
public App_cmd_arg Example_list_str_(String v) {
example = String_.ConcatWith_any(" ", v);
example = String_.Concat_with_obj(" ", v);
val_tid = Val_tid_list_string;
return this;
}

View File

@@ -50,11 +50,11 @@ public class HierPosAryBldr {
rv[i] = ary[i];
return rv;
}
public String XtoStr() {
public String To_str() {
String_bldr sb = String_bldr_.new_();
for (int i = 0; i < aryIdx; i++)
sb.Add_spr_unless_first(Int_.Xto_str(ary[i]), " ", i);
return sb.XtoStr();
return sb.To_str();
}
int[] ary; int aryIdx = -1; int root = -1;
public HierPosAryBldr(int ary_max) {ary = new int[ary_max]; this.Init();}

View File

@@ -33,7 +33,7 @@ public class Tst_mgr {
return itm.Pass() ? 0 : 1;
}
public int Tst_val_ary(boolean skip, String path, String name, Object expd, Object actl) {
Tst_itm itm = Tst_itm.eq_(skip, path, name, XtoStr(expd), XtoStr(actl));
Tst_itm itm = Tst_itm.eq_(skip, path, name, To_str(expd), To_str(actl));
results.Add(itm);
return itm.Pass() ? 0 : 1;
}
@@ -79,7 +79,7 @@ public class Tst_mgr {
return expd_obj.Chk(this, path, actl_obj);
}
}
String XtoStr(Object ary) {
String To_str(Object ary) {
if (ary == null) return "<NULL>";
int len = Array_.Len(ary);
for (int i = 0; i < len; i++) {