JOAL v2.6.0-rc-20250712
JOAL, OpenAL® API Binding for Java™ (public API).
com.jogamp.openal.ALContextKey Class Reference

Implementing equals(Object) based on the native address and hashCode() on the HashUtil#getAddrHash32_EqualDist(long) with same native address. More...

Collaboration diagram for com.jogamp.openal.ALContextKey:

Public Member Functions

 ALContextKey (final ALCcontext context)
 Creates an instance using the current context as key. More...
 
ALCcontext getContext ()
 
boolean equals (final Object o)
 
int hashCode ()
 
String toString ()
 

Detailed Description

Implementing equals(Object) based on the native address and hashCode() on the HashUtil#getAddrHash32_EqualDist(long) with same native address.

Both, the native address and its hash code values are cached.

Definition at line 39 of file ALContextKey.java.

Constructor & Destructor Documentation

◆ ALContextKey()

com.jogamp.openal.ALContextKey.ALContextKey ( final ALCcontext  context)

Creates an instance using the current context as key.

Definition at line 46 of file ALContextKey.java.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ equals()

boolean com.jogamp.openal.ALContextKey.equals ( final Object  o)

Definition at line 64 of file ALContextKey.java.

Here is the call graph for this function:

◆ getContext()

ALCcontext com.jogamp.openal.ALContextKey.getContext ( )

Definition at line 61 of file ALContextKey.java.

◆ hashCode()

int com.jogamp.openal.ALContextKey.hashCode ( )

Definition at line 75 of file ALContextKey.java.

◆ toString()

String com.jogamp.openal.ALContextKey.toString ( )

Definition at line 80 of file ALContextKey.java.


The documentation for this class was generated from the following file: