Re: JNI Newbie - Modifying parameters in native method
- From: Tor Iver Wilhelmsen <jadedgamer@xxxxxxxxxxx>
- Date: 19 Jul 2005 16:52:42 +0200
Nomak <none@xxxxxxxxxxxxxxxxx> writes:
> this system is called "passed by reference".
No, passing something by reference usually means you can alter a
variable in the caller. Think of the old swap(a,b) example from C
which you cannot do in Java because everything is passed by value.
.
- References:
- JNI Newbie - Modifying parameters in native method
- From: Alex L
- Re: JNI Newbie - Modifying parameters in native method
- From: Stefan Schulz
- Re: JNI Newbie - Modifying parameters in native method
- From: Alex L
- Re: JNI Newbie - Modifying parameters in native method
- From: Stefan Schulz
- Re: JNI Newbie - Modifying parameters in native method
- From: Alex L
- Re: JNI Newbie - Modifying parameters in native method
- From: Stefan Schulz
- Re: JNI Newbie - Modifying parameters in native method
- From: Nomak
- JNI Newbie - Modifying parameters in native method
- Prev by Date: Re: collection framework: using the good interface
- Next by Date: Re: [JDBC] Connection pooling
- Previous by thread: Re: JNI Newbie - Modifying parameters in native method
- Next by thread: Why the following codes is "especially slow" and "unformally slow"?
- Index(es):
Relevant Pages
|