System.out.print(next.getMatchingTerm());
System.out.print(next.getMatchingTerm() + " [" + next.getNodeId() + "] "); System.out.print("-> " + (next.nextMatch == null ? "null" : next.nextMatch.getMatchingTerm()));
	public void printMatches() {		System.out.print(gid);		System.out.print(": ");		Match next = match;		while (next != null) {			System.out.print(next.getMatchingTerm());			System.out.print(" ");			next = next.nextMatch;		}		System.out.println();	}