com.waveset.object
Class ResourceInfo.CompareResourceNameAndAccountId

java.lang.Object
  extended by com.waveset.object.ResourceInfo.CompareResourceNameAndAccountId
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator
Enclosing class:
ResourceInfo

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

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

See Also:
Serialized Form

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
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
Overrides:
equals in class java.lang.Object