context.arch.discoverer.querySystem.comparison
Class Equal

java.lang.Object
  extended bycontext.arch.discoverer.querySystem.comparison.AbstractComparison
      extended bycontext.arch.discoverer.querySystem.comparison.Equal

public class Equal
extends AbstractComparison

Author:
Agathe

Field Summary
static java.lang.String EQUAL
           
 
Fields inherited from class context.arch.discoverer.querySystem.comparison.AbstractComparison
ABSTRACT_COMPARISON
 
Constructor Summary
Equal()
          Creates new Equal
 
Method Summary
 boolean compare(java.lang.Object o1, java.lang.Object o2)
          Tests if 2 objects are equal.
 
Methods inherited from class context.arch.discoverer.querySystem.comparison.AbstractComparison
factory, fromDataObject, getComparisonName, toDataObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EQUAL

public static final java.lang.String EQUAL
See Also:
Constant Field Values
Constructor Detail

Equal

public Equal()
Creates new Equal

Method Detail

compare

public boolean compare(java.lang.Object o1,
                       java.lang.Object o2)
Tests if 2 objects are equal.

Specified by:
compare in class AbstractComparison
Parameters:
o1 - The first object
o2 - The second object
Returns:
boolean The result of the comparison