public final class ResourceComparator extends Object
Resource
s.Constructor and Description |
---|
ResourceComparator() |
ResourceComparator(boolean ignoreEmptyList) |
Modifier and Type | Method and Description |
---|---|
boolean |
areEqual(Resource r1,
Resource r2)
Tests whether two Resources are equal, i.e. the Resource, all properties,
and all Resources connected by properties.
|
Stack |
getDiffsAsStack(Resource r1,
Resource r2) |
String |
getDiffsAsString(Resource r1,
Resource r2) |
void |
printDiffs(Resource r1,
Resource r2)
Prints the differences between two Resources to the log.
|
public ResourceComparator()
public ResourceComparator(boolean ignoreEmptyList)
public boolean areEqual(Resource r1, Resource r2)
public void printDiffs(Resource r1, Resource r2)
Copyright © 2015 universAAL Consortium. All rights reserved.