ArrayList < E > function ( E ... arg0 ) { int loc0 = ( arg0 . length * 110 ) / 100 + 5 ; ArrayList < E > loc1 = new ArrayList < E > ( loc0 ) ; Collections . addAll ( loc1 , arg0 ) ; return loc1 ; }
creates a resizable arraylist instance containing the givenelements . note : due to a bug in javac 1.5.0 _ 06 , we can not support the following : list list = lists.newarraylist sub1 , sub2 ; where sub1 and sub2 are references to subtypes of base , not of base itself . to get around this , you mustuse : list list = lists.newarraylist sub1 , sub2 ; concode_field_sep PlaceHolder placeHolder concode_field_sep SparseArray<E> cloneSparseArray