Top Description Fields Constructors Methods
org.lwjgl.opencl

pack-priv Class CLObjectRegistry<T extends CLObjectChild<P extends CLObject>>

extends Object
Class Inheritance
Imports
org.lwjgl.LWJGLUtil

A CLObjectChild container.
Author
Spasi

Field Summary

Modifier and TypeField and Description
private FastLongMap<T>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv final Iterable<FastLongMap.Entry<T>>
private FastLongMap<T>
pack-priv final T
getObject(final long id)

pack-priv final boolean
hasObject(final long id)

pack-priv final boolean
pack-priv void
registerObject(final T object)

pack-priv void
unregisterObject(final T object)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

registryback to summary
private FastLongMap<T> registry

Constructor Detail

CLObjectRegistryback to summary
pack-priv CLObjectRegistry()

Method Detail

getAllback to summary
pack-priv final Iterable<FastLongMap.Entry<T>> getAll()
getMapback to summary
private FastLongMap<T> getMap()
getObjectback to summary
pack-priv final T getObject(final long id)
hasObjectback to summary
pack-priv final boolean hasObject(final long id)
isEmptyback to summary
pack-priv final boolean isEmpty()
registerObjectback to summary
pack-priv void registerObject(final T object)
unregisterObjectback to summary
pack-priv void unregisterObject(final T object)