Top Fields Constructors Methods
io.netty.channel.kqueue

pack-priv final Class NativeLongArray

extends Object
Class Inheritance
Imports
io.netty.channel.unix.Buffer, io.netty.util.internal.PlatformDependent, java.nio.ByteBuffer

Field Summary

Modifier and TypeField and Description
private int
private ByteBuffer
private long
private int

Constructor Summary

AccessConstructor and Description
pack-priv
NativeLongArray(int capacity)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
add(long value)

private static int
pack-priv void
pack-priv void
free()

private static int
idx(int index)

pack-priv boolean
pack-priv long
pack-priv long
private long
memoryOffset(int index)

private void
pack-priv int
size()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

capacityback to summary
private int capacity
memoryback to summary
private ByteBuffer memory
memoryAddressback to summary
private long memoryAddress
sizeback to summary
private int size

Constructor Detail

NativeLongArrayback to summary
pack-priv NativeLongArray(int capacity)

Method Detail

addback to summary
pack-priv void add(long value)
calculateBufferCapacityback to summary
private static int calculateBufferCapacity(int capacity)
clearback to summary
pack-priv void clear()
freeback to summary
pack-priv void free()
idxback to summary
private static int idx(int index)
isEmptyback to summary
pack-priv boolean isEmpty()
memoryAddressback to summary
pack-priv long memoryAddress()
memoryAddressEndback to summary
pack-priv long memoryAddressEnd()
memoryOffsetback to summary
private long memoryOffset(int index)
reallocIfNeededback to summary
private void reallocIfNeeded()
sizeback to summary
pack-priv int size()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override