com.waveset.object
Class ResourceInfo.CompareResourceNameAndAccountId

java.lang.Object
  extended bycom.waveset.object.ResourceInfo.CompareResourceNameAndAccountId
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
ResourceInfo

public static class ResourceInfo.CompareResourceNameAndAccountId
extends java.lang.Object
implements java.util.Comparator

Implement the Comparator interface to sort ResourceInfo instances by resource name, accountId, "exists" and accountGUID.


Constructor Summary
ResourceInfo.CompareResourceNameAndAccountId()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceInfo.CompareResourceNameAndAccountId

public ResourceInfo.CompareResourceNameAndAccountId()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.util.Comparator