APIdia Launch Partner
Top Description Fields Constructors Methods
sun.java2d.xr

public final Class XIDGenerator

extends Object
Class Inheritance

Class provides unused XIDs, used for creating server-side objects created by the java backend. It does buffering, to minimize JNI overhead.
Author
Clemens Eisserer

Field Summary

Modifier and TypeField and Description
pack-priv int
private static final int
pack-priv int[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static native void
bufferXIDs(int[] buffer, int arraySize)

public int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentIndexback to summary
pack-priv int currentIndex
XID_BUFFER_SIZEback to summary
private static final int XID_BUFFER_SIZE
xidBufferback to summary
pack-priv int[] xidBuffer

Constructor Detail

XIDGeneratorback to summary
public XIDGenerator()

Method Detail

bufferXIDsback to summary
private static native void bufferXIDs(int[] buffer, int arraySize)
getNextXIDback to summary
public int getNextXID()