mirror of
https://github.com/oldratlee/translations.git
synced 2026-05-11 00:40:07 +08:00
xxx
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
原文链接: [Difference between JVM's LookupSwitch and TableSwitch?](https://stackoverflow.com/questions/10287700/difference-between-jvms-lookupswitch-and-tableswitch) - [Mecki](https://stackoverflow.com/users/15809/mecki),2012-10-17
|
||||
|
||||
# `JVM`的`LookUpSwitch`与`TableSwitch`的区别?
|
||||
|
||||
问题:
|
||||
|
||||
在理解`JVM`字节码中的`LookUpSwitch`与`TableSwitch`上有些困难。
|
||||
|
||||
如果我理解正确的话,`LookUpSwitch`与`TableSwitch`2者是不是都基于`Java`源码中的`switch`语句?为什么一个`Java`语句要生成2个不同的字节码?
|
||||
|
||||
回答:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user