com.servingxml.components.content.dynamic
Interface Identifier

All Known Subinterfaces:
KeyIdentifier
All Known Implementing Classes:
ArrayIdentifier, KeyIdentifierImpl

public interface Identifier

This interface defines an equality relation between two objects.


Method Summary
 boolean equalTo(java.lang.Object key1, java.lang.Object key2)
          Compares its two key arguments for equality.
 

Method Detail

equalTo

boolean equalTo(java.lang.Object key1,
                java.lang.Object key2)
Compares its two key arguments for equality. Returns true or false depending on whether the two key arguments are equal.

Parameters:
key1 - the first key object to be compared.
key2 - the second key object to be compared.
Returns:
true or false depending on whether the two key arguments are equal.