mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
.exampls Added more comments to AndroidMath
git-svn-id: svn://ultimatepp.org/upp/trunk@9586 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
98b466bc4d
commit
9953ec78f1
5 changed files with 81 additions and 119 deletions
|
|
@ -1,7 +1,7 @@
|
|||
package org.upp.AndroidMath;
|
||||
|
||||
/**
|
||||
* Class which whole funtional implementaiton is native.
|
||||
* Math vector class which whole implementaiton is native (c/c++).
|
||||
*/
|
||||
public class Vector
|
||||
{
|
||||
|
|
@ -13,7 +13,9 @@ public class Vector
|
|||
private long nativeAdress = 0;
|
||||
|
||||
/**
|
||||
* We override finalize method, beacuse we need to destroy native c++ object.
|
||||
* We override finalize method, because we need to destroy native c++ object when
|
||||
* there is not more reference to Java object. This method is called by default
|
||||
* by garbage collector.
|
||||
*/
|
||||
@Override
|
||||
protected void finalize() throws Throwable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue