protected long [ ] createItemIdArray ( ) { int size = operationList . size ( ) ; long [ ] itemIds = new long [ size ] ; for ( int i = 0 ; i < size ; i ++ ) { CollectionTxnOperation operation = ( CollectionTxnOperation ) operationList . get ( i ) ; itemIds [ i ] = CollectionTxnUtil . getItemId ( operation ) ; } return itemIds ; }
Creates an array of IDs for all operations in this transaction log . The ID is negative if the operation is a remove operation .