软件包 | 描述 |
---|---|
java.lang.reflect |
提供用于获取类和对象的反射信息的类和接口。
|
javax.sound.midi |
提供的接口和类的I / O,测序和合成的MIDI(乐器数字接口)数据。
|
Modifier and Type | Method and Description |
---|---|
static Object |
Array.get(Object array, int index)
返回指定数组对象中的索引组件的值。
|
static boolean |
Array.getBoolean(Object array, int index)
返回指定数组中的索引组件对象的值,作为一个
boolean 。
|
static byte |
Array.getByte(Object array, int index)
返回指定数组中的索引组件对象的值,作为一个
byte 。
|
static char |
Array.getChar(Object array, int index)
返回指定数组中的索引组件对象的值,作为一个
char 。
|
static double |
Array.getDouble(Object array, int index)
返回指定数组中的索引组件对象的值,作为一个
double 。
|
static float |
Array.getFloat(Object array, int index)
返回指定数组中的索引组件对象的值,作为一个
float 。
|
static int |
Array.getInt(Object array, int index)
返回指定数组中的索引组件对象的值,作为一个
int 。
|
static long |
Array.getLong(Object array, int index)
返回指定数组中的索引组件对象的值,作为一个
long 。
|
static short |
Array.getShort(Object array, int index)
返回指定数组中的索引组件对象的值,作为一个
short 。
|
static void |
Array.set(Object array, int index, Object value)
将指定数组对象的索引组件的值设置为指定的新值。
|
static void |
Array.setBoolean(Object array, int index, boolean z)
设置指定的
boolean 值的索引组件指定数组的对象的值。
|
static void |
Array.setByte(Object array, int index, byte b)
设置指定的
byte 值的索引组件指定数组的对象的值。
|
static void |
Array.setChar(Object array, int index, char c)
设置指定的
char 值的索引组件指定数组的对象的值。
|
static void |
Array.setDouble(Object array, int index, double d)
设置指定的
double 值的索引组件指定数组的对象的值。
|
static void |
Array.setFloat(Object array, int index, float f)
设置指定的
float 值的索引组件指定数组的对象的值。
|
static void |
Array.setInt(Object array, int index, int i)
设置指定的
int 值的索引组件指定数组的对象的值。
|
static void |
Array.setLong(Object array, int index, long l)
设置指定的
long 值的索引组件指定数组的对象的值。
|
static void |
Array.setShort(Object array, int index, short s)
设置指定的
short 值的索引组件指定数组的对象的值。
|
Modifier and Type | Method and Description |
---|---|
MidiEvent |
Track.get(int index)
在指定的索引处获取事件。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.