|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.svrCore.ExhibitAttrUtils.ExhibitAttrWords.IndirectComparatorStub
private abstract static class ExhibitAttrUtils.ExhibitAttrWords.IndirectComparatorStub
Device to allow serialisation of trivial stubs and do proper quality test. This allows serialisation to take place, and also allows equals() to be implemented by comparing the implementation class and the underlying longHash.
| Field Summary | |
|---|---|
private int |
hash
Local version of main hash. |
private static long |
serialVersionUID
Give this a fixed ID. |
| Constructor Summary | |
|---|---|
ExhibitAttrUtils.ExhibitAttrWords.IndirectComparatorStub(long longHash)
Construct an instance with the hash embedded. |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.String ex1,
java.lang.String ex2)
Apply the underlying Comparator |
boolean |
equals(java.lang.Object obj)
Is comparator equal (ie has some data changed)? |
protected abstract java.util.Comparator<java.lang.String> |
getComp()
Get the comparator that we indirectly call. |
int |
hashCode()
Compute a condensed version of the main hash. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final int hash
private static final long serialVersionUID
| Constructor Detail |
|---|
ExhibitAttrUtils.ExhibitAttrWords.IndirectComparatorStub(long longHash)
| Method Detail |
|---|
protected abstract java.util.Comparator<java.lang.String> getComp()
public final int compare(java.lang.String ex1,
java.lang.String ex2)
compare in interface java.util.Comparator<java.lang.String>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in interface java.util.Comparator<java.lang.String>equals in class java.lang.Object
|
DHD Multimedia Gallery V1.50.55 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||