|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Number
uic.lang.FileSize
public class FileSize
| Constructor Summary | |
|---|---|
FileSize(long size)
|
|
FileSize(String size)
|
|
| Method Summary | |
|---|---|
byte |
byteValue()
Returns the value of the specified number as a byte. |
int |
compareTo(Object other)
|
double |
doubleValue()
Returns the value of the specified number as a double. |
float |
floatValue()
Returns the value of the specified number as a float. |
int |
intValue()
Returns the value of the specified number as an int. |
long |
longValue()
Returns the value of the specified number as a long. |
short |
shortValue()
|
String |
toString()
|
static FileSize |
valueOf(long size)
|
static FileSize |
valueOf(String size)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileSize(String size)
public FileSize(long size)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic byte byteValue()
byteValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic float floatValue()
floatValue in class Numberpublic int intValue()
intValue in class Numberpublic long longValue()
longValue in class Numberpublic short shortValue()
shortValue in class Numberpublic int compareTo(Object other)
compareTo in interface Comparablepublic static FileSize valueOf(String size)
public static FileSize valueOf(long size)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||