com.adobe.idp.um.api.infomodel
Class Domain.DomainNameComprator
java.lang.Object
com.adobe.idp.um.api.infomodel.Domain.DomainNameComprator
- All Implemented Interfaces:
- java.util.Comparator
- Enclosing interface:
- Domain
public static class Domain.DomainNameComprator
- extends java.lang.Object
- implements java.util.Comparator
A static class used to compare domains. Using an object of this type, you can
determine if two domains are the same.
Method Summary |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Determines whether the specified domains are equivalent. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
Domain.DomainNameComprator
public Domain.DomainNameComprator()
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Determines whether the specified domains are equivalent.
- Specified by:
compare
in interface java.util.Comparator
- Parameters:
o1
- The first domain.o2
- The second domain.
- Returns:
- The value
0
if the domains are equivalent.
[an error occurred while processing this directive] [an error occurred while processing this directive]