org.netbeans.modules.editor.lib/3 3.23.0 19

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/3 3.23.0 19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.