JavaScript is disabled on your browser.
Skip navigation links
Java SE 21 & JDK 21
Overview
Module
Package
Class
Use
Tree
Preview
New
Deprecated
Index
Help
Summary:
Nested
Field
Constr
Method
Detail:
Field
Constr
Method
Summary:
Nested
|
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
SEARCH
Module
jdk.compiler
Package
com.sun.source.tree
Interface ArrayAccessTree
所有超级接口:
ExpressionTree
,
Tree
public interface
ArrayAccessTree
extends
ExpressionTree
用于数组访问表达式的树节点。例如:
表达式
[
索引
]
参见
Java语言规范
:
15.10.3 数组访问表达式
自Java版本:
1.6
Nested Class Summary
Nested classes/interfaces declared in interface com.sun.source.tree.
Tree
Tree.Kind
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
ExpressionTree
getExpression
()
返回被访问的数组的表达式。
ExpressionTree
getIndex
()
返回索引的表达式。
Methods declared in interface com.sun.source.tree.
Tree
accept
,
getKind
Method Details
getExpression
ExpressionTree
getExpression
()
返回被访问的数组的表达式。
返回:
数组
getIndex
ExpressionTree
getIndex
()
返回索引的表达式。
返回:
索引