public void trackStatePointer ( NativePack random ) { if ( random . getStatePointer ( ) != null ) { GarbageStateReference reference = new GarbageStateReference ( random , queue ) ; referenceMap . put ( random . getStatePointer ( ) . address ( ) , reference ) ; } }
This method is used internally from NativeRandom deallocators This method doesn t accept Random interface implementations intentionally .