2010-03-16 43 views

回答

4

以下是幾個例子:

final byte[] blockOfMemory = new byte[ 1024 ]; 

final java.nio.ByteBuffer blockOfMemory2 = 
    java.nio.ByteBuffer.allocateDirect(1024); 
+0

定義請=) – anonymous 2010-03-16 11:49:28

+0

一個)JVM規範http://java.sun.com/docs/books/jvms/second_edition/html/VMSpecTOC.doc。 html b)API-doc http://java.sun.com/javase/6/docs/api/java/nio/ByteBuffer.html – KarlP 2010-03-16 13:57:13

相關問題