equal
deleted
inserted
replaced
40 } |
40 } |
41 BufferPool getDirectBufferPool(); |
41 BufferPool getDirectBufferPool(); |
42 |
42 |
43 /** |
43 /** |
44 * Constructs a direct ByteBuffer referring to the block of memory starting |
44 * Constructs a direct ByteBuffer referring to the block of memory starting |
45 * at the given memory address and and extending {@code cap} bytes. |
45 * at the given memory address and extending {@code cap} bytes. |
46 * The {@code ob} parameter is an arbitrary object that is attached |
46 * The {@code ob} parameter is an arbitrary object that is attached |
47 * to the resulting buffer. |
47 * to the resulting buffer. |
48 */ |
48 */ |
49 ByteBuffer newDirectByteBuffer(long addr, int cap, Object ob); |
49 ByteBuffer newDirectByteBuffer(long addr, int cap, Object ob); |
50 |
50 |