<small id='zoa1S'></small><noframes id='zoa1S'>

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

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

      Java 是否具有 Integer、Float、Double、Long 的可变类型

      时间:2023-10-02
      <tfoot id='prHmG'></tfoot>

        <legend id='prHmG'><style id='prHmG'><dir id='prHmG'><q id='prHmG'></q></dir></style></legend>
        • <bdo id='prHmG'></bdo><ul id='prHmG'></ul>
            <tbody id='prHmG'></tbody>

            <small id='prHmG'></small><noframes id='prHmG'>

            <i id='prHmG'><tr id='prHmG'><dt id='prHmG'><q id='prHmG'><span id='prHmG'><b id='prHmG'><form id='prHmG'><ins id='prHmG'></ins><ul id='prHmG'></ul><sub id='prHmG'></sub></form><legend id='prHmG'></legend><bdo id='prHmG'><pre id='prHmG'><center id='prHmG'></center></pre></bdo></b><th id='prHmG'></th></span></q></dt></tr></i><div id='prHmG'><tfoot id='prHmG'></tfoot><dl id='prHmG'><fieldset id='prHmG'></fieldset></dl></div>
              • 本文介绍了Java 是否具有 Integer、Float、Double、Long 的可变类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我想使用 Integer 之类的可变版本.我必须使用这些类(如下)还是 Java 有内置的东西?

                I am in a situation where I want to use mutable versions of things like Integer. Do I have to use these classes (below) or does Java have something built in?

                http://www.java2s.com/Code/Java/数据类型/Amutableintwrapper.htm

                推荐答案

                不,Java 没有这些内置功能.这是有原因的.使用可变类型是危险的,因为它们很容易被滥用.此外,它很容易实现.例如,commons-lang 有一个 MutableInt.

                No, Java doesn't have these built in. And that is for a reason. Using mutable types is dangerous, as they can easily be misused. Additionally, it is really easy to implement it. For example, commons-lang has a MutableInt.

                这篇关于Java 是否具有 Integer、Float、Double、Long 的可变类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:Java - 将 int 更改为 ascii 下一篇:意外结果导致长/整数除法

                相关文章

                最新文章

              • <legend id='YJjh5'><style id='YJjh5'><dir id='YJjh5'><q id='YJjh5'></q></dir></style></legend>
                <tfoot id='YJjh5'></tfoot>
                  <bdo id='YJjh5'></bdo><ul id='YJjh5'></ul>

                <small id='YJjh5'></small><noframes id='YJjh5'>

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