jdk/src/java.base/share/classes/sun/misc/JavaNioAccess.java
changeset 28059 e576535359cc
parent 25859 3317bb8137f4
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
    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