Beispiel #1
0
 private int Autonum_calc(String name) {
   Int_obj_ref autonum_itm = (Int_obj_ref) autonum_hash.Get_by(name);
   if (autonum_itm == null) {
     autonum_itm = Int_obj_ref.New(0);
     autonum_hash.Add(name, autonum_itm);
   }
   return autonum_itm.Val_add();
 }
 public byte[] Get_by(int ns_id, byte[] ttl) {
   Xowd_page_itm rv = (Xowd_page_itm) pages.Get_by(Make_key(ns_id, ttl));
   return rv == null ? null : rv.Text();
 }