Comparing Values of Columns


I need some help with handling tables:

I want to compare the values of two columns, but not only pairwise - each cell of the one column should be compared with each value of the other column.

Is there a possibility to use/extend some provided nodes (p.ex. the java-snipped node)? I only found nodes which provide a pairwise comparison.

So should I aditionally create a new node which is able to compare the column values not only pairwise? (but this operation then has a duration of O (n^2) :-/ )


thank you so far!