|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.content.manager.sort.PropertyDefinitionComparator
public class PropertyDefinitionComparator
Compares PropertyDefinitoins in ascending order based the PropertyDefinition name. The compare is case-insensitive.
Constructor Summary | |
---|---|
PropertyDefinitionComparator()
|
Method Summary | |
---|---|
int |
compare(Object obj1,
Object obj2)
Compares its two arguments for order. |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this Comparator. |
int |
hashCode()
Returns a hash code value for this comparator. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyDefinitionComparator()
Method Detail |
---|
public int compare(Object obj1, Object obj2)
compare
in interface Comparator
public boolean equals(Object obj)
comp1.equals(comp2)
implies that sgn(comp1.compare(o1,
o2))==sgn(comp2.compare(o1, o2)) for every object reference
o1 and o2.
equals
in interface Comparator
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |