public static long [ ] asLongTypeArray ( List < Long > input ) { long [ ] result = new long [ input . size ( ) ] ; for ( int i = 0 ; i < result . length ; i ++ ) { result [ i ] = input . get ( i ) ; } return result ; }
As long type array .