示例#1
0
  public static int[] eval(int[] dest, NslInt1 num, int start, int end) {

    int[] _data = num.get();

    if (start < 0) start = 0;
    if (end > _data.length) end = _data.length;

    return eval(dest, _data, start, end);
  }
示例#2
0
  // 2
  public static int[] eval(NslInt1 num, int start, int end) {

    int[] _data = num.get();

    if (start < 0) start = 0;
    if (end > _data.length) end = _data.length;

    int length = end - start + 1;

    return eval(new int[length], _data, start, end);
  }
 public int[] eval(int[] dest, NslInt1 a, NslInt1 b) {
   return eval(dest, a.getint1(), b.getint1());
 }
 public int[] eval(NslInt1 a, NslInt1 b) {
   return eval(a.getint1(), b.getint1());
 }
 public int[] eval(int a, NslInt1 b) {
   return eval(a, b.getint1());
 }
 public int[] eval(NslInt1 a, int b) {
   return eval(a.getint1(), b);
 }
示例#7
0
 // NslInt 1d NslNumeric
 public static int eval(int dest, NslInt1 _data, int i) {
   dest = _data.getint(i);
   return dest;
 }