protected IntBuffer createIntBuffer ( int size ) { ByteBuffer temp = ByteBuffer . allocateDirect ( 4 * size ) ; temp . order ( ByteOrder . nativeOrder ( ) ) ; return temp . asIntBuffer ( ) ; }
Creates an integer buffer to hold specified ints - strictly a utility method