Java EE 5 SDK

com.sun.appserv.management.util.jmx
Class AttributeComparator

java.lang.Object
  extended by com.sun.appserv.management.util.jmx.AttributeComparator
All Implemented Interfaces:
Comparator<Attribute>

public final class AttributeComparator
extends Object
implements Comparator<Attribute>


Field Summary
static AttributeComparator INSTANCE
           
 
Method Summary
 int compare(Attribute attr1, Attribute attr2)
           
 boolean equals(Object other)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final AttributeComparator INSTANCE
Method Detail

compare

public int compare(Attribute attr1,
                   Attribute attr2)
Specified by:
compare in interface Comparator<Attribute>

equals

public boolean equals(Object other)
Specified by:
equals in interface Comparator<Attribute>
Overrides:
equals in class Object

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.