mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v1.10.2.1
This commit is contained in:
@@ -55,7 +55,7 @@ class Io_line_rdr_fxt {
|
||||
public Io_line_rdr_fxt File_lines_(int count) {
|
||||
for (int i = 0; i < count; i++)
|
||||
tmp.Add_int_fixed(i, 2).Add_byte_nl();
|
||||
Io_mgr._.SaveFilBry(rdr.Urls()[0], tmp.XtoAryAndClear());
|
||||
Io_mgr._.SaveFilBry(rdr.Urls()[0], tmp.Xto_bry_and_clear());
|
||||
return this;
|
||||
}
|
||||
// public Io_url[] Src_fils() {return src_fils;} public Io_line_rdr_fxt Src_fils_(Io_url[] v) {src_fils = v; return this;} Io_url[] src_fils;
|
||||
@@ -69,14 +69,14 @@ class Io_line_rdr_fxt {
|
||||
public Io_line_rdr_fxt File_lines_pipe_(int count) {
|
||||
for (int i = 0; i < count; i++)
|
||||
tmp.Add_int_fixed(i, 2).Add_byte(Byte_ascii.Pipe).Add_byte_nl();
|
||||
Io_mgr._.SaveFilBry(rdr.Urls()[0], tmp.XtoAryAndClear());
|
||||
Io_mgr._.SaveFilBry(rdr.Urls()[0], tmp.Xto_bry_and_clear());
|
||||
return this;
|
||||
}
|
||||
|
||||
public Io_line_rdr_fxt File_lines_(int fil_idx, int bgn, int end) {
|
||||
for (int i = bgn; i < end; i++)
|
||||
tmp.Add_int_fixed(i, 2).Add_byte_nl();
|
||||
Io_mgr._.SaveFilBry(rdr.Urls()[fil_idx], tmp.XtoAryAndClear());
|
||||
Io_mgr._.SaveFilBry(rdr.Urls()[fil_idx], tmp.Xto_bry_and_clear());
|
||||
return this;
|
||||
}
|
||||
public Io_line_rdr_fxt Clear() {rdr.Clear(); return this;}
|
||||
|
||||
@@ -43,7 +43,7 @@ public class Io_sort {
|
||||
size_cur = size_new;
|
||||
}
|
||||
rdr.Rls(); bfr.Rls(); Env_.GarbageCollect();
|
||||
return (Io_url[])rv.XtoAry(Io_url.class);
|
||||
return (Io_url[])rv.Xto_ary(Io_url.class);
|
||||
}
|
||||
public void Merge(Gfo_usr_dlg usr_dlg, Io_url[] src_ary, ComparerAble comparer, Io_line_rdr_key_gen key_gen, Io_sort_cmd cmd) {
|
||||
BinaryHeap_Io_line_rdr heap = load_(usr_dlg, src_ary, comparer, key_gen, memory_max); if (heap.Len() == 0) return;//throw Err_.new_(Array_.XtoStr(src_ary));
|
||||
|
||||
@@ -56,11 +56,11 @@ class Io_sort_fxt {
|
||||
String itm = (String)list.FetchAt(i);
|
||||
sb.Add(itm).Add_char_nl();
|
||||
}
|
||||
return sb.XtoStrAndClear();
|
||||
return sb.Xto_str_and_clear();
|
||||
}
|
||||
public String GenOrdered(int rows, int pad) {
|
||||
for (int i = 0; i < rows; i++)
|
||||
sb.Add(Int_.Xto_str_pad_bgn(i, pad) + "|" + "\n");
|
||||
return sb.XtoStrAndClear();
|
||||
return sb.Xto_str_and_clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user