add existing ids to provided collection . concode_field_sep int lastExistingIdx concode_elem_sep IgfsPath path concode_elem_sep String[] parts concode_elem_sep IgniteUuid[] ids concode_elem_sep IgniteUuid[] surrogateIds concode_field_sep IgfsPathIds parent concode_elem_sep IgniteUuid surrogateId concode_elem_sep IgniteUuid lastParentId concode_elem_sep boolean allExists concode_elem_sep IgniteUuid lastExistingId concode_elem_sep String part concode_elem_sep int count concode_elem_sep String lastPart concode_elem_sep IgniteUuid lastId concode_elem_sep IgfsPath path concode_elem_sep boolean verifyIntegrity concode_elem_sep boolean isLastIndex concode_elem_sep boolean lastParentExists concode_elem_sep int lastExistingIndex concode_elem_sep IgfsPath lastExistingPath concode_elem_sep IgniteUuid id concode_elem_sep boolean lastExists concode_elem_sep void addSurrogateIds
void function ( Collection < IgniteUuid > arg0 , boolean arg1 ) { if ( arg1 ) { arg0 . add ( ids [ lastExistingIdx ] ) ; if ( lastExistingIdx == ids . length - 1 && lastExistingIdx > 0 ) arg0 . add ( ids [ lastExistingIdx - 1 ] ) ; } else { for ( int loc0 = 0 ; loc0 <= lastExistingIdx ; loc0 ++ ) arg0 . add ( ids [ loc0 ] ) ; } }