# 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](java/apache-camel)
