public class ExclyInteger extends Object implements ExclyDataType, Comparable<ExclyInteger>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
error |
ERRORCODE| Constructor and Description |
|---|
ExclyInteger(double data)
Constructs a new ExclyInteger.
|
ExclyInteger(int data)
Constructs a new ExclyInteger.
|
| Modifier and Type | Method and Description |
|---|---|
static ExclyInteger |
add(ExclyInteger... values)
Adds multiple ExclyInteger together.
|
int |
compareTo(ExclyInteger other) |
boolean |
equals(Object obj) |
int |
getData()
Returns the value.
|
int |
hashCode() |
boolean |
isError()
Checks if the ExclyInteger has an error.
|
void |
setCell(org.apache.poi.ss.usermodel.Cell cell)
Sets a cell without a given style.
|
void |
setCell(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.CellStyle cellStyle)
Sets a cell with a given style.
|
static ExclyInteger |
sub(ExclyInteger... values)
Subtracts multiple ExclyInteger from the first input.
|
String |
toString() |
public ExclyInteger(int data)
data - The value of the ExclyInteger.public ExclyInteger(double data)
data - The value of the ExclyInteger.public void setCell(org.apache.poi.ss.usermodel.Cell cell)
ExclyDataTypesetCell in interface ExclyDataTypecell - The cell which should be set.public void setCell(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.CellStyle cellStyle)
ExclyDataTypesetCell in interface ExclyDataTypecell - The cell which should be set.cellStyle - The cell style which should be set.public int getData()
public boolean isError()
public int compareTo(ExclyInteger other)
compareTo in interface Comparable<ExclyInteger>public static ExclyInteger add(ExclyInteger... values)
values - ExclyInteger which should be added together.public static ExclyInteger sub(ExclyInteger... values)
values - ExclyInteger which should be subtracted.Copyright © 2016 MuK Projects. All rights reserved.