当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
ObjectArray.CopyItems (Editor Library) - NetBeans API Javadoc (Current Development Version)
org.netbeans.editor
Interface ObjectArray.CopyItems
- All Known Implementing Classes:
- GapObjectArray
- Enclosing interface:
- ObjectArray
public static interface ObjectArray.CopyItems
Interface allowing more efficient getting of the objects
from the object array. If the particular object array
does not implement this interface then its items
are accessed by ObjectArray.getItem(int)
calls.
The ObjectArrayUtilities.copyItems(ObjectArray, int, int, Object[], int)
presents uniform access for obtaining of the items.
Method Summary |
void |
copyItems(int srcStartIndex,
int srcEndIndex,
Object[] dest,
int destIndex)
Copy the items in the given index range from the object array into destination array. |
copyItems
void copyItems(int srcStartIndex,
int srcEndIndex,
Object[] dest,
int destIndex)
- Copy the items in the given index range from the object array into destination array.
- Parameters:
srcStartIndex
- index of the first item in the object array to get.srcEndIndex
- end index in the object array of the items to get.dest
- destination array of objects. The length of the array
must be at least destIndex + (srcEndIndex - srcStartIndex)
.destIndex
- first destination index at which the items are being stored.