.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:
klugier 2016-03-12 11:44:12 +00:00
parent 98b466bc4d
commit 9953ec78f1
5 changed files with 81 additions and 119 deletions

View file

@ -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