|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ComparisonResult | |
---|---|
org.ov4j | |
org.ov4j.comp |
Uses of ComparisonResult in org.ov4j |
---|
Methods in org.ov4j that return ComparisonResult | |
---|---|
ComparisonResult<T> |
Controler.compare(Version<T> newVersion,
Version<T> oldVersion,
boolean fast)
Compare 2 versions after determining which class to use. |
ComparisonResult<T> |
Controler.compare(Version<T> newVersion,
Version<T> oldVersion,
java.lang.Class<? extends ComparisonResult<? super T>> compResultClass,
boolean fast)
Compare 2 versions using the specified class. |
ComparisonResult<T> |
Controler.diff(C id,
Version<T> newVersion)
Will perform a diff, trying to determine the class of the comparison result by appending ComparisonResult to the versionedObject classname. |
ComparisonResult<T> |
Controler.diff(C id,
Version<T> newVersion,
java.lang.Class<? extends ComparisonResult<? super T>> compResultClass)
Compares the new version to the latest version of object with the given id. |
Methods in org.ov4j that return types with arguments of type ComparisonResult | |
---|---|
java.lang.Class<? extends ComparisonResult<? super T>> |
Controler.findComparisonResultClass(Version<T> ver)
Find the Class to use for comparing this version, will replace "data" by "comp" in the package name and add "ComparisonResult" to the class of the versions's versioned object. |
Method parameters in org.ov4j with type arguments of type ComparisonResult | |
---|---|
boolean |
Controler.batchCommit(C[] ids,
Version<T>[] newVersions,
java.lang.Class<? extends ComparisonResult<T>> compResultClass,
boolean addNew)
Commit changes to the given objects using the specified class to determine if commit is needed. |
boolean |
Controler.commit(C id,
Version<T> newVersion,
java.lang.Class<? extends ComparisonResult<? super T>> compResultClass)
Commit changes to the given object. |
boolean |
Controler.commit(C id,
Version<T> newVersion,
java.lang.Class<? extends ComparisonResult<? super T>> compResultClass,
int rollover)
Commit changes to the given object using the specified class to determine if commit is needed. |
ComparisonResult<T> |
Controler.compare(Version<T> newVersion,
Version<T> oldVersion,
java.lang.Class<? extends ComparisonResult<? super T>> compResultClass,
boolean fast)
Compare 2 versions using the specified class. |
ComparisonResult<T> |
Controler.diff(C id,
Version<T> newVersion,
java.lang.Class<? extends ComparisonResult<? super T>> compResultClass)
Compares the new version to the latest version of object with the given id. |
Uses of ComparisonResult in org.ov4j.comp |
---|
Subclasses of ComparisonResult in org.ov4j.comp | |
---|---|
class |
ClassComparableComparisonResult
Class used to compare 2 ClassComparable objects. |
class |
DefaultComparisonResult
Default class for comparing objects, will only call Object.equals() to perform comparison. |
class |
DummyComparisonResult
This class does not really compare objects, it will always determine that compared objects are different. |
class |
NumericComparisonResult<T extends Number>
This class is used to compare numeric values. |
class |
SentenceComparisonResult
This class is used to compare sentences, or any group of words. |
class |
StringComparisonResult
This class is used to compare 2 strings as character sequences. |
class |
URIComparisonResult
This class is used to compare URIs. |
class |
VersionComparisonResult<T extends Comparable<? super T> & Cloneable & Serializable>
This class is used to compare versions. |
Methods in org.ov4j.comp with type parameters of type ComparisonResult | ||
---|---|---|
static
|
ComparisonResult.findComparisonResultClass(C o)
Find class to use to compare instances of the given object. |
Methods in org.ov4j.comp that return ComparisonResult | |
---|---|
ComparisonResult<?>[] |
ComparisonResult.getMatches()
|
Methods in org.ov4j.comp with parameters of type ComparisonResult | |
---|---|
void |
ComparisonResult.setMatches(ComparisonResult<?>[] matches)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |