1. <small id='GBYYt'></small><noframes id='GBYYt'>

      <legend id='GBYYt'><style id='GBYYt'><dir id='GBYYt'><q id='GBYYt'></q></dir></style></legend>

    2. <i id='GBYYt'><tr id='GBYYt'><dt id='GBYYt'><q id='GBYYt'><span id='GBYYt'><b id='GBYYt'><form id='GBYYt'><ins id='GBYYt'></ins><ul id='GBYYt'></ul><sub id='GBYYt'></sub></form><legend id='GBYYt'></legend><bdo id='GBYYt'><pre id='GBYYt'><center id='GBYYt'></center></pre></bdo></b><th id='GBYYt'></th></span></q></dt></tr></i><div id='GBYYt'><tfoot id='GBYYt'></tfoot><dl id='GBYYt'><fieldset id='GBYYt'></fieldset></dl></div>
        <bdo id='GBYYt'></bdo><ul id='GBYYt'></ul>

      1. <tfoot id='GBYYt'></tfoot>

      2. 什么是invokedynamic,我该如何使用它?

        What#39;s invokedynamic and how do I use it?(什么是invokedynamic,我该如何使用它?)

              <small id='9817t'></small><noframes id='9817t'>

            1. <tfoot id='9817t'></tfoot>
                <bdo id='9817t'></bdo><ul id='9817t'></ul>
                  <tbody id='9817t'></tbody>
                <i id='9817t'><tr id='9817t'><dt id='9817t'><q id='9817t'><span id='9817t'><b id='9817t'><form id='9817t'><ins id='9817t'></ins><ul id='9817t'></ul><sub id='9817t'></sub></form><legend id='9817t'></legend><bdo id='9817t'><pre id='9817t'><center id='9817t'></center></pre></bdo></b><th id='9817t'></th></span></q></dt></tr></i><div id='9817t'><tfoot id='9817t'></tfoot><dl id='9817t'><fieldset id='9817t'></fieldset></dl></div>

                  <legend id='9817t'><style id='9817t'><dir id='9817t'><q id='9817t'></q></dir></style></legend>
                • 本文介绍了什么是invokedynamic,我该如何使用它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我不断听到有关添加到 JVM 的所有新酷特性,其中一个很酷的特性是 invokedynamic.我想知道它是什么以及它如何使 Java 中的反射式编程更容易或更好?

                  解决方案

                  这是一个新的 JVM 指令,它允许编译器生成调用具有比以前更宽松的规范的方法的代码——如果你知道鸭子打字" 是,invokedynamic 基本上允许鸭子打字.作为一个 Java 程序员,你可以做的事情并不多.但是,如果您是工具创建者,则可以使用它来构建更灵活、更高效的基于 JVM 的语言.这里是一篇非常精彩的博文,提供了很多细节.p>

                  I keep hearing about all the new cool features that are being added to the JVM and one of those cool features is invokedynamic. I would like to know what it is and how does it make reflective programming in Java easier or better?

                  解决方案

                  It is a new JVM instruction which allows a compiler to generate code which calls methods with a looser specification than was previously possible -- if you know what "duck typing" is, invokedynamic basically allows for duck typing. There's not too much you as a Java programmer can do with it; if you're a tool creator, though, you can use it to build more flexible, more efficient JVM-based languages. Here is a really sweet blog post that gives a lot of detail.

                  这篇关于什么是invokedynamic,我该如何使用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                  <tfoot id='sQsH8'></tfoot>
                  <i id='sQsH8'><tr id='sQsH8'><dt id='sQsH8'><q id='sQsH8'><span id='sQsH8'><b id='sQsH8'><form id='sQsH8'><ins id='sQsH8'></ins><ul id='sQsH8'></ul><sub id='sQsH8'></sub></form><legend id='sQsH8'></legend><bdo id='sQsH8'><pre id='sQsH8'><center id='sQsH8'></center></pre></bdo></b><th id='sQsH8'></th></span></q></dt></tr></i><div id='sQsH8'><tfoot id='sQsH8'></tfoot><dl id='sQsH8'><fieldset id='sQsH8'></fieldset></dl></div>

                      <tbody id='sQsH8'></tbody>
                    • <legend id='sQsH8'><style id='sQsH8'><dir id='sQsH8'><q id='sQsH8'></q></dir></style></legend>

                            <bdo id='sQsH8'></bdo><ul id='sQsH8'></ul>
                          • <small id='sQsH8'></small><noframes id='sQsH8'>