Package org.eclipse.mosaic.rti
Class DATA
- java.lang.Object
-
- org.eclipse.mosaic.rti.DATA
-
public final class DATA extends Object
Constant data units in MOSAIC. The base unit for data size is one bit.
-
-
Field Summary
Fields Modifier and Type Field Description static long
BIT
1 bit.static long
BYTE
1 byte = 8 bits.static long
GIBIBIT
1 gibibit = 1024 mebibits.static long
GIBIBYTE
1 gibibyte = 1024 mebibytes.static long
GIGABIT
1 gigabit = 1000 megabits.static long
GIGABYTE
1 gigabyte = 1000 megabytes.static long
KIBIBIT
1 kibibit = 1024 bits.static long
KIBIBYTE
1 kibibyte = 1024 bytes.static long
KILOBIT
1 kilobit = 1000 bits.static long
KILOBYTE
1 kilobyte = 1000 bytes.static long
MEBIBIT
1 mebibit = 1024 kibibits.static long
MEBIBYTE
1 mebibyte = 1024 kibibytes.static long
MEGABIT
1 megabit = 1000 kilobits.static long
MEGABYTE
1 megabyte = 1000 kilobytes.static long
TEBIBIT
1 tebibit = 1024 gibibits.static long
TEBIBYTE
1 tebibyte = 1024 gibibytes.static long
TERABIT
1 terabit = 1000 gigabits.static long
TERABYTE
1 terabyte = 1000 gigabytes.
-
-
-
Field Detail
-
BIT
public static final long BIT
1 bit.- See Also:
- Constant Field Values
-
KILOBIT
public static final long KILOBIT
1 kilobit = 1000 bits.- See Also:
- Constant Field Values
-
MEGABIT
public static final long MEGABIT
1 megabit = 1000 kilobits.- See Also:
- Constant Field Values
-
GIGABIT
public static final long GIGABIT
1 gigabit = 1000 megabits.- See Also:
- Constant Field Values
-
TERABIT
public static final long TERABIT
1 terabit = 1000 gigabits.- See Also:
- Constant Field Values
-
KIBIBIT
public static final long KIBIBIT
1 kibibit = 1024 bits.- See Also:
- Constant Field Values
-
MEBIBIT
public static final long MEBIBIT
1 mebibit = 1024 kibibits.- See Also:
- Constant Field Values
-
GIBIBIT
public static final long GIBIBIT
1 gibibit = 1024 mebibits.- See Also:
- Constant Field Values
-
TEBIBIT
public static final long TEBIBIT
1 tebibit = 1024 gibibits.- See Also:
- Constant Field Values
-
BYTE
public static final long BYTE
1 byte = 8 bits.- See Also:
- Constant Field Values
-
KILOBYTE
public static final long KILOBYTE
1 kilobyte = 1000 bytes.- See Also:
- Constant Field Values
-
MEGABYTE
public static final long MEGABYTE
1 megabyte = 1000 kilobytes.- See Also:
- Constant Field Values
-
GIGABYTE
public static final long GIGABYTE
1 gigabyte = 1000 megabytes.- See Also:
- Constant Field Values
-
TERABYTE
public static final long TERABYTE
1 terabyte = 1000 gigabytes.- See Also:
- Constant Field Values
-
KIBIBYTE
public static final long KIBIBYTE
1 kibibyte = 1024 bytes.- See Also:
- Constant Field Values
-
MEBIBYTE
public static final long MEBIBYTE
1 mebibyte = 1024 kibibytes.- See Also:
- Constant Field Values
-
GIBIBYTE
public static final long GIBIBYTE
1 gibibyte = 1024 mebibytes.- See Also:
- Constant Field Values
-
TEBIBYTE
public static final long TEBIBYTE
1 tebibyte = 1024 gibibytes.- See Also:
- Constant Field Values
-
-