public class ExclyLong extends Object implements ExclyDataType, Comparable<ExclyLong>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
error |
ERRORCODE| Constructor and Description |
|---|
ExclyLong(double data)
Constructs a new ExclyLong.
|
ExclyLong(long data)
Constructs a new ExclyLong.
|
| Modifier and Type | Method and Description |
|---|---|
static ExclyLong |
add(ExclyLong... values)
Adds multiple ExclyLong together.
|
int |
compareTo(ExclyLong other) |
boolean |
equals(Object obj) |
long |
getData()
Returns the value.
|
int |
hashCode() |
boolean |
isError()
Checks if the ExclyLong 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 ExclyLong |
sub(ExclyLong... values)
Subtracts multiple ExclyLong from the first input.
|
String |
toString() |
public ExclyLong(long data)
data - The value of the ExclyLong.public ExclyLong(double data)
data - The value of the ExclyLong.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 long getData()
public boolean isError()
public int compareTo(ExclyLong other)
compareTo in interface Comparable<ExclyLong>public static ExclyLong add(ExclyLong... values)
values - ExclyLong which should be added together.public static ExclyLong sub(ExclyLong... values)
values - ExclyLong which should be subtracted.Copyright © 2016 MuK Projects. All rights reserved.