All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jdsltools.testers.StructureComparator

public interface StructureComparator

Method Index

 o areEqual(Object, Object)
Compares two objects(other than containers
 o equals(Object, Enumeration)
Compares a container to an enumeration that represents that container.
 o equals(Object, Object)
Compares a container to another container
 o equals(Object, String)
Compares a container to an string that represents that container.

Methods

 o equals
 public abstract boolean equals(Object container,
                                Enumeration enumeration)
Compares a container to an enumeration that represents that container.

Parameters:
container - the container to compare to.
enumeration - the enumeration representing that container.
Returns:
true if the enumeration is compatible with the container, false otherwise. with this StructureComparator.
 o equals
 public abstract boolean equals(Object container,
                                String string)
Compares a container to an string that represents that container.

Parameters:
container - the container to compare to.
string - the string representing that container.
Returns:
true if the string is compatible with the container, false otherwise. with this StructureComparator.
 o equals
 public abstract boolean equals(Object container,
                                Object reference)
Compares a container to another container

Parameters:
container - the container to compare to.
reference - a reference container.
Returns:
true if reference structure compatible with the container, false otherwise.
 o areEqual
 public abstract boolean areEqual(Object obj,
                                  Object refObj)
Compares two objects(other than containers

Parameters:
obj - The object to compare.
refObj - The reference object to compare.
Returns:
true If the two are equal, false otherwise

All Packages  Class Hierarchy  This Package  Previous  Next  Index