APIdia Launch Partner
Top Methods
com.sun.javafx.collections

public Interface IntegerArraySyncer


Method Summary

Modifier and TypeMethod and Description
public int[]

Returns:

a synced array, which is the same or new array (depending on the change).
syncTo
(int[]
previously synced array
array
,
int[]
an int array of 2 elements that states the start and length of elements modified.
fromAndLengthIndices
)

This method is used to sync arrays on pulses.

Method Detail

syncToback to summary
public int[] syncTo(int[] array, int[] fromAndLengthIndices)

This method is used to sync arrays on pulses. This method expects the same array was synced before. The usage is similar to toArray method so always use it as following: dest = source.syncTo(dest);

Parameters
array:int[]

previously synced array

fromAndLengthIndices:int[]

an int array of 2 elements that states the start and length of elements modified.

Returns:int[]

a synced array, which is the same or new array (depending on the change).