Primitive-narrowing-conversions
Java primitive narrowing conversions [JLS14:5.1.3].
Subtopics
- Short-to-char
- Narrowing conversion from short to char [JLS14:5.1.3].
- Short-to-byte
- Narrowing conversion from short to byte [JLS14:5.1.3].
- Long-to-short
- Narrowing conversion from long to short [JLS14:5.1.3].
- Float-to-short
- Narrowing conversion from float to short [JLS14:5.1.3].
- Float-to-long
- Narrowing conversion from float to long [JLS14:5.1.3].
- Float-to-char
- Narrowing conversion from float to char [JLS14:5.1.3].
- Float-to-byte
- Narrowing conversion from float to byte [JLS14:5.1.3].
- Double-to-short
- Narrowing conversion from double to short [JLS14:5.1.3].
- Double-to-long
- Narrowing conversion from double to long [JLS14:5.1.3].
- Double-to-int
- Narrowing conversion from double to int [JLS14:5.1.3].
- Double-to-float
- Narrowing conversion from double to float [JLS14:5.1.3].
- Double-to-char
- Narrowing conversion from double to char [JLS14:5.1.3].
- Double-to-byte
- Narrowing conversion from double to byte [JLS14:5.1.3].
- Char-to-short
- Narrowing conversion from char to short [JLS14:5.1.3].
- Long-to-int
- Narrowing conversion from long to int [JLS14:5.1.3].
- Long-to-char
- Narrowing conversion from long to char [JLS14:5.1.3].
- Long-to-byte
- Narrowing conversion from long to byte [JLS14:5.1.3].
- Int-to-short
- Narrowing conversion from int to short [JLS14:5.1.3].
- Int-to-char
- Narrowing conversion from int to char [JLS14:5.1.3].
- Int-to-byte
- Narrowing conversion from int to byte [JLS14:5.1.3].
- Float-to-int
- Narrowing conversion from float to int [JLS14:5.1.3].
- Char-to-byte
- Narrowing conversion from char to byte [JLS14:5.1.3].