Talk:AVL tree/Java: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "The Java version was ported from C# in 2016. The port of the full I# class library took only a week. For this reason, I decided to release the source code. It is available on...")
 
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
The Java version was ported from C# in 2016. The port of the full [http://nncnannara.net/Html/English/Java/index.html Calculus] class library took only a week. [User:NNcNannara|NNcNannara]] ([[User talk:NNcNannara|talk]]) 10:20, 11 July 2016 (UTC)
The Java version was ported from C# in 2016. The port of the full I# class library took only a week. For this reason, I decided to release the source code. It is available on [https://sourceforge.net/projects/isharpjava/ SourceForge]. This download is probably the quickest way to get AVL Trees up and running in Java. The download supported NetBeans, Eclipse and IntelliJ under Windows. The actual I# project is included in the .zip file. The documentation is at [http://nnicrosopht.net/Html/English/Java/index.html I#].

The abbreviated version of Java on the main page will suffer in performance just like the C++ version on the main page - see [http://rosettacode.org/wiki/Talk:AVL_tree/C%2B%2B C++ Talk].

The Java implementation of AVL Trees is a bit different to the C# version in that references to references are not available. This means that functions like RotateLeft and RotateRight return the new node rather than the function updating the reference for you. It is only a cosmetic change to the code. [[User:NNcNannara|NNcNannara]] ([[User talk:NNcNannara|talk]]) 11:25, 16 July 2016 (UTC)

Latest revision as of 12:05, 23 May 2017

The Java version was ported from C# in 2016. The port of the full Calculus class library took only a week. [User:NNcNannara|NNcNannara]] (talk) 10:20, 11 July 2016 (UTC)

The abbreviated version of Java on the main page will suffer in performance just like the C++ version on the main page - see C++ Talk.

The Java implementation of AVL Trees is a bit different to the C# version in that references to references are not available. This means that functions like RotateLeft and RotateRight return the new node rather than the function updating the reference for you. It is only a cosmetic change to the code. NNcNannara (talk) 11:25, 16 July 2016 (UTC)