开发者

How can relate "block of memory" to "objects" in Java?

How can I define an object in Java in a way that would mean '开发者_运维知识库block of memory'?


Here are couple of examples:

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

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜