Exemplo n.º 1
0
  @Override
  public void setObjectAbs(final int index, final Object obj) {
    if (index < 0 || index > data.length) {
      throw new IndexOutOfBoundsException("Index given is outside dataset");
    }

    setAbs(index, obj.toString()); // FROM_OBJECT
  }
Exemplo n.º 2
0
 /**
  * Sets the value at a particular point to the passed value
  *
  * @param value
  * @param pos
  */
 public void setItem(final String value, final int... pos) { // PRIM_TYPE
   setAbs(get1DIndex(pos), value);
 }
Exemplo n.º 3
0
 /**
  * Sets the value at a particular point to the passed value. The dataset must be 2D
  *
  * @param value
  * @param i
  * @param j
  */
 public void setItem(final String value, final int i, final int j) { // PRIM_TYPE
   setAbs(get1DIndex(i, j), value);
 }