Java Code Examples for com.alibaba.excel.enums.CellDataTypeEnum#NUMBER

The following examples show how to use com.alibaba.excel.enums.CellDataTypeEnum#NUMBER . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CellData.java    From easyexcel with Apache License 2.0 5 votes vote down vote up
public CellData(BigDecimal numberValue) {
    if (numberValue == null) {
        throw new IllegalArgumentException("DoubleValue can not be null");
    }
    this.type = CellDataTypeEnum.NUMBER;
    this.numberValue = numberValue;
    this.formula = Boolean.FALSE;
}
 
Example 2
Source File: LongNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}
 
Example 3
Source File: IntegerNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}
 
Example 4
Source File: StringNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}
 
Example 5
Source File: ByteNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}
 
Example 6
Source File: ShortNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}
 
Example 7
Source File: BooleanNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}
 
Example 8
Source File: DateNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}
 
Example 9
Source File: FloatNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}
 
Example 10
Source File: BigDecimalNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}
 
Example 11
Source File: DoubleNumberConverter.java    From easyexcel with Apache License 2.0 4 votes vote down vote up
@Override
public CellDataTypeEnum supportExcelTypeKey() {
    return CellDataTypeEnum.NUMBER;
}