eu.ciechanowiec.sling.rocket.unit.DataUnitMultiplications Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sling.rocket.commons Show documentation
Show all versions of sling.rocket.commons Show documentation
Common utilities used by Sling Rocket
package eu.ciechanowiec.sling.rocket.unit;
import lombok.experimental.UtilityClass;
@UtilityClass
class DataUnitMultiplications {
/**
* Bytes per Kilobyte.
*/
static final long BYTES_PER_KB = 1024;
/**
* Bytes per Megabyte.
*/
static final long BYTES_PER_MB = BYTES_PER_KB * 1024;
/**
* Bytes per Gigabyte.
*/
static final long BYTES_PER_GB = BYTES_PER_MB * 1024;
/**
* Bytes per Terabyte.
*/
static final long BYTES_PER_TB = BYTES_PER_GB * 1024;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy