addValue
public void addValue(Number value,
Comparable chipx,
Comparable chipy)
Sets a value in the dataset.
value
- the value.chipx
- the x-index for the chip.chipy
- the y-index for the chip.
addValue
public void addValue(int v,
int x,
int y)
Adds a value to the dataset.
v
- the value.x
- the x-index.y
- the y-index.
getChipSpace
public double getChipSpace()
Returns the space to draw between chips.
getChipValue
public Number getChipValue(Comparable chipx,
Comparable chipy)
Returns the value for a given chip x and y or null.
chipx
- the x-index.chipy
- the y-index.
getChipValue
public Number getChipValue(int chipx,
int chipy)
Returns the data value for a chip.
chipx
- the x-index.chipy
- the y-index.
getMaxChipX
public int getMaxChipX()
Returns the wafer x-dimension.
- The number of chips in the x-dimension.
getMaxChipY
public int getMaxChipY()
Returns the number of chips in the y-dimension.
getMaxValue
public Number getMaxValue()
Returns the maximum value stored in the dataset.
getMinValue
public Number getMinValue()
Returns the minimum value stored in the dataset.
getUniqueValueCount
public int getUniqueValueCount()
Returns the number of unique values.
- The number of unique values.
getUniqueValues
public Set getUniqueValues()
Returns the set of unique values.
- The set of unique values.
isMaxValue
public boolean isMaxValue(Number check)
Tests to see if the passed value is larger than the stored maxvalue.
check
- the number to check.
isMinValue
public boolean isMinValue(Number check)
Tests to see if the passed value is smaller than the stored minvalue.
check
- the number to check.
setChipSpace
public void setChipSpace(double space)
Sets the space to draw between chips.
setMaxChipX
public void setMaxChipX(int maxChipX)
Sets wafer x dimension.
maxChipX
- the number of chips in the x-dimension.
setMaxChipY
public void setMaxChipY(int maxChipY)
Sets the number of chips in the y-dimension.
maxChipY
- the number of chips.
setValue
public void setValue(Number value,
Comparable chipx,
Comparable chipy)
Sets a value in the dataset and updates min and max value entries.
value
- the value.chipx
- the x-index.chipy
- the y-index.