예제 #1
0
 public long ReadLongOr(String k, long or) {
   Object rv = ReadOr(k, or);
   if (rv == Nil) return or;
   return parse ? Long_.parse((String) rv) : Long_.cast(rv);
 }
예제 #2
0
 public long ReadLong(String k) {
   Object rv = ReadOr(k, 0);
   if (rv == Nil) ThrowNotFound(k);
   return parse ? Long_.parse((String) rv) : Long_.cast(rv);
 }