@ NotNull public Object [ ] toArray ( ) { return toArray ( new IntFunction < Object [ ] > ( ) { @ NotNull @ Override public Object [ ] apply ( int value ) { return new Object [ value ] ; } } ) ; }
Collects elements to an array .