Top Description Constructors Methods
org.apache.tomcat.jni

public Class Buffer

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer

Provides utilities related to the use of directly allocated ByteBuffer instances with native code.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static native long

Returns:

the memory address
address
(ByteBuffer
Previously allocated ByteBuffer.
buf
)

Returns the memory address of the ByteBuffer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Bufferback to summary
public Buffer()

Method Detail

addressback to summary
public static native long address(ByteBuffer buf)

Returns the memory address of the ByteBuffer.

Parameters
buf:ByteBuffer

Previously allocated ByteBuffer.

Returns:long

the memory address