public class SheetCell<T extends Comparable<T>> extends Object implements Comparable<SheetCell<T>>, Serializable
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SheetCell<T> o) |
boolean |
equals(Object obj) |
T |
getReference()
The reference or original value of the sheet cell.
|
T |
getValue() |
int |
hashCode() |
boolean |
isReadOnly() |
boolean |
isReferenceEqual()
Check if the
value object and the reference object are equal |
void |
resetToReference()
Set the value to the reference value
|
void |
setReadOnly(boolean readOnly) |
void |
setReference(T reference) |
void |
setValue(T value) |
String |
toString() |
public SheetCell(T value)
public T getValue()
public void setValue(T value)
value
- the value to setpublic T getReference()
public void setReference(T reference)
reference
- the reference to setpublic boolean isReferenceEqual()
value
object and the reference
object are equaltrue
if the value and the reference object are equal, otherwise false
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public void resetToReference()
public int compareTo(SheetCell<T> o)
compareTo
in interface Comparable<SheetCell<T extends Comparable<T>>>
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.