Пример #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);
  }