【问题标题】:What is meant by "elementData" and [0] while debugging Eclipse IDE? [closed]调试 Eclipse IDE 时“elementData”和 [0] 是什么意思? [关闭]
【发布时间】:2016-05-30 01:19:34
【问题描述】:

以下是我调试时的屏幕截图。我想知道elementData是什么意思

https://qph.is.quoracdn.net/main-qimg-687ac74cbb37844aaaf5c4ecc96e8623?convert_to_webp=true 以及 [0] 是什么意思。我知道 elementData 数组的第 0 个索引。但elementData是什么?

https://qph.is.quoracdn.net/main-qimg-65350d44db817e8e5b4bb102248dd155?convert_to_webp=true

【问题讨论】:

  • 你希望它取什么名字以及为什么?

标签: java eclipse debugging netbeans ide


【解决方案1】:

这些是您的数组列表的数据,[0] 是第 0 个元素,因为您目前只有 1 个元素,因此只有 [0] 大小也是数组列表的大小,即 1

您的数组列表是元素,元素数据是您的数组列表中的数据,在其下方您会看到 [0] 这是您的数组列表元素中的第一个数据

【讨论】:

    猜你喜欢
    • 2022-01-23
    • 1970-01-01
    • 1970-01-01
    • 2014-01-19
    • 2011-03-26
    • 1970-01-01
    • 2010-12-29
    • 2014-09-20
    • 1970-01-01
    相关资源
    最近更新 更多