Example usage for Java org.apache.wicket.util.lang Bytes fields, constructors, methods, implement or subclass
The text is from its open source code.
Bytes | MAX Maximum bytes value |
bytes | |
Bytes(final long bytes) Private constructor forces use of static factory methods. |
int | compareTo(final LongValue that) Compares this Object to a given Object . |
double | gigabytes() Gets the byte count in gigabytes. |
Bytes | gigabytes(final long gigabytes) Instantiate immutable Bytes value object.. |
Bytes | gigabytes(final double gigabytes) Instantiate immutable Bytes value object.. |
Bytes | kilobytes(final long kilobytes) Instantiate immutable Bytes value object.. |
Bytes | kilobytes(final double kilobytes) Instantiate immutable Bytes value object.. |
double | kilobytes() Gets the byte count in kilobytes. |
Bytes | megabytes(final long megabytes) Instantiate immutable Bytes value object.. |
Bytes | megabytes(final double megabytes) Instantiate immutable Bytes value object.. |
double | megabytes() Gets the byte count in megabytes. |
double | terabytes() Gets the byte count in terabytes. |
String | toString() Converts this byte count to a string using the default locale. |
Bytes | valueOf(final String string) Converts a string to a number of bytes. |