public class DataSize extends UntypedData
| Modifier and Type | Class and Description |
|---|---|
static class |
DataSize.StorageUnit |
EMPTY, string| Constructor and Description |
|---|
DataSize(Long size)
Public constructor create
DataSize with specified file size. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UntypedData datatype) |
boolean |
equals(Object obj) |
Long |
getFileSize()
Getter for the file size of this
DataSize object. |
int |
hashCode() |
void |
setFileSize(Long fileSize)
Setter for the file size of this
DataSize object. |
String |
toString() |
getString, setString, toHTMLpublic int compareTo(UntypedData datatype)
compareTo in interface Comparable<UntypedData>compareTo in class UntypedDatapublic int hashCode()
hashCode in class UntypedDatapublic boolean equals(Object obj)
equals in class UntypedDatapublic Long getFileSize()
DataSize object.public void setFileSize(Long fileSize)
DataSize object.fileSize - the file size to set.public String toString()
UntypedDatatoString in class UntypedDataCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.