class CoverageUtilities {

	public static Number suggestNoDataValue(int dataType) {
		switch (dataType) {
		case DataBuffer.TYPE_BYTE:
			return Byte.valueOf((byte)0);
		case DataBuffer.TYPE_USHORT:
			return Short.valueOf((short)0);
		case DataBuffer.TYPE_INT:
			return Integer.valueOf(Integer.MIN_VALUE);
		case DataBuffer.TYPE_SHORT:
			return Short.valueOf((short)Short.MIN_VALUE);
		case DataBuffer.TYPE_DOUBLE:
			return Double.valueOf(Double.NaN);
		case DataBuffer.TYPE_FLOAT:
			return Float.valueOf(Float.NaN);
		default:
			throw new IllegalAccessError(Errors.format(ErrorKeys.ILLEGAL_ARGUMENT_$2,"dataType",dataType));
		}
	}

	private  CoverageUtilities();

}