Java org.apache.wicket.util.lang Bytes fields, constructors, methods, implement or subclass

Example usage for Java org.apache.wicket.util.lang Bytes fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.wicket.util.lang Bytes.

The text is from its open source code.

Field

BytesMAX
Maximum bytes value

Constructor

bytes
Bytes(final long bytes)
Private constructor forces use of static factory methods.

Method

intcompareTo(final LongValue that)
Compares this Object to a given Object.
doublegigabytes()
Gets the byte count in gigabytes.
Bytesgigabytes(final long gigabytes)
Instantiate immutable Bytes value object..
Bytesgigabytes(final double gigabytes)
Instantiate immutable Bytes value object..
Byteskilobytes(final long kilobytes)
Instantiate immutable Bytes value object..
Byteskilobytes(final double kilobytes)
Instantiate immutable Bytes value object..
doublekilobytes()
Gets the byte count in kilobytes.
Bytesmegabytes(final long megabytes)
Instantiate immutable Bytes value object..
Bytesmegabytes(final double megabytes)
Instantiate immutable Bytes value object..
doublemegabytes()
Gets the byte count in megabytes.
doubleterabytes()
Gets the byte count in terabytes.
StringtoString()
Converts this byte count to a string using the default locale.
BytesvalueOf(final String string)
Converts a string to a number of bytes.