package ie.nuim.cs.dri.interactROS;

public class ROSInteract {

    static {
      System.loadLibrary("GenerateROS");
   }
 
   private native long GenerateROS(String filename, String longid);
   private native int ROSCountNodes(long neoId);
   private native detailednode[] GetNeo4jGraphNodes(long neoId);
   private native detailednode[] GetNeo4jGraphNodes(String longid);
   
    public static void main(String[] args) {
		//Long lala = new ROSInteract().GenerateROS("test.csv","ABCDEFGHIJ");
		int[] b = new int[3];
		b[0] = 1; b[1] = 2; b[2] = 3;
		detailednode[] nodes = new ROSInteract().GetNeo4jGraphNodes(2);
		System.out.println("b0 " + b[0] + " b1 " + b[1] + " b2 " + b[2]);
		System.out.println("Node stuff " + nodes[0].nodeId + " another : " + nodes[1].nodeId);
		System.out.println("I'm Java : " + nodes.length);
		System.out.println("1 : " + nodes[0].inNodeIds.length);
		System.out.println("2 : " + nodes[0].outNodeIds.length);
		System.out.println("3 : " + nodes[0].Word);
		
    }
    
}

@@ -373,632 +373,8 @@
 d);%0A
-   %0A    public static void main(String%5B%5D args) %7B%0A%09%09//Long lala = new ROSInteract().GenerateROS(%22test.csv%22,%22ABCDEFGHIJ%22);%0A%09%09int%5B%5D b = new int%5B3%5D;%0A%09%09b%5B0%5D = 1; b%5B1%5D = 2; b%5B2%5D = 3;%0A%09%09detailednode%5B%5D nodes = new ROSInteract().GetNeo4jGraphNodes(2);%0A%09%09System.out.println(%22b0 %22 + b%5B0%5D + %22 b1 %22 + b%5B1%5D + %22 b2 %22 + b%5B2%5D);%0A%09%09System.out.println(%22Node stuff %22 + nodes%5B0%5D.nodeId + %22 another : %22 + nodes%5B1%5D.nodeId);%0A%09%09System.out.println(%22I'm Java : %22 + nodes.length);%0A%09%09System.out.println(%221 : %22 + nodes%5B0%5D.inNodeIds.length);%0A%09%09System.out.println(%222 : %22 + nodes%5B0%5D.outNodeIds.length);%0A%09%09System.out.println(%223 : %22 + nodes%5B0%5D.Word);%0A%09%09%0A    %7D%0A
     

Update ROSInteract.java