ArrayList<Resource> rs1 = new ArrayList<Resource>();\r
ArrayList<Resource> rs2 = new ArrayList<Resource>();\r
\r
+ @Override\r
+ public int compare(ReadGraph g, Resource o1, Resource o2, boolean local) throws DatabaseException {\r
+ if (local)\r
+ return new TypeComparator().compare(g, o1, o2);\r
+ else\r
+ return compare(g, o1, o2);\r
+ }\r
+ \r
@Override\r
public int compare(ReadGraph g, Resource o1, Resource o2) throws DatabaseException{\r
if (!compareType(g,o1, o2)) {\r