站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ObjectArray.CopyItems (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

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.
 

Method Detail

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.

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.