> For the complete documentation index, see [llms.txt](https://cleberjamaral.gitbook.io/mind/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cleberjamaral.gitbook.io/mind/knowledge/programming/java.md).

# java

### My snippets

* [Java pass by value](http://groovyconsole.appspot.com/script/5150188356239360)! A snippet showing that on sending objects to a method, the method receives a copy of a reference, although it points to the original object it does not change the reference itself. Conclusion: java pass by value, not by reference (also available [here](https://ideone.com/HTJ2Nc)).&#x20;
* [Finding an algorithm / equation that matches with observations ](http://groovyconsole.appspot.com/script/5203477827420160)using groovy assert. [This second algorithm ](http://groovyconsole.appspot.com/script/5097740564430848)also compares the estimation from an equation obtained from exponential regression [given by wolfram alpha regression calculator](https://www.wolframalpha.com/widgets/view.jsp?id=a96a9e81ac4bbb54f8002bb61b8d3472).
* [A singleton class and how to destroy and recreate the static object.](https://ideone.com/me1NvQ)

### My favourite libraries

* [Apache Camel](/mind/knowledge/programming/java/apache-camel.md)
