- Found in:
- JContainers
Description
Documentation Comment
Exchanges the items at @index1 and @index2. negative index accesses items from the end of container counting backwards.
Caveats
Parameters
intobject
intindex1
intindex2
Examples
Auto-Generated Example
int myInt__object
int myInt__index1
int myInt__index2
JArray.swapItems(myInt__object, myInt__index1, myInt__index2)