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