IndexedCollection < O > function ( int arg0 , Factory < Set < O >> arg1 ) { return new ObjectLockingIndexedCollection < O > ( arg1 , arg0 ) ; }
returns a new indexedcollection to which objects can be added subsequently . the implementation returned supports concurrent reads and writes in general , but employs some locking in the write path for applications in which multiple threads might try to add/remove the same object to/from the collection concurrently . see objectlockingindexedcollection for details . concode_field_sep PlaceHolder placeHolder concode_field_sep IndexedCollection<O> copyFromObjectLocking concode_elem_sep IndexedCollection<O> copyFromObjectLocking concode_elem_sep IndexedCollection<O> newInstance concode_elem_sep IndexedCollection<O> newInstance concode_elem_sep IndexedCollection<O> copyFrom concode_elem_sep IndexedCollection<O> copyFrom