public static interface ObjectArray.CopyItems
ObjectArray.getItem(int)
calls.
The ObjectArrayUtilities.copyItems(ObjectArray, int, int, Object[], int)
presents uniform access for obtaining of the items.Modifier and Type | Method and Description |
---|---|
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.
|
void copyItems(int srcStartIndex, int srcEndIndex, Object[] dest, int destIndex)
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.Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.