public class IntegrationPointComparator extends Object implements Comparator<org.glassfish.admingui.connector.IntegrationPoint>, Serializable
This class compares two IntegrationPoint Objects. See
compare(org.glassfish.admingui.connector.IntegrationPoint, org.glassfish.admingui.connector.IntegrationPoint) for more details.
| Modifier | Constructor and Description |
|---|---|
protected |
IntegrationPointComparator()
Protected constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.glassfish.admingui.connector.IntegrationPoint ip1,
org.glassfish.admingui.connector.IntegrationPoint ip2)
This method compares two
IntegrationPoints. |
static IntegrationPointComparator |
getInstance()
Accessor for this
Comparator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsprotected IntegrationPointComparator()
Protected constructor. Use getInstance() instead.
public static IntegrationPointComparator getInstance()
Accessor for this Comparator.
public int compare(org.glassfish.admingui.connector.IntegrationPoint ip1,
org.glassfish.admingui.connector.IntegrationPoint ip2)
This method compares two IntegrationPoints. It will first
check the parentId, then the priority if
the parentIds are equal. If the priorities happen to
be equal as well, it will compare the ids.
compare in interface Comparator<org.glassfish.admingui.connector.IntegrationPoint>Copyright © 2014. All rights reserved.