@@ -0,0 +1,413 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage mynn;%0A%0A/**%0A *%0A * @author Tirta%0A * @param %3CX%3E%0A * @param %3CY%3E%0A */%0A%0Apublic class Tuple%3CX, Y%3E %7B %0A  public final X node; %0A  public final Y weight; %0A  public Tuple(X x, Y y) %7B %0A    this.node = x; %0A    this.weight = y; %0A  %7D %0A%7D%0A%0A

add tuple class