litesoft
Diff Revisions
809
vs
823
for /trunk/Java/core/Server/src/org/litesoft/orsup/base/UniqueKeyMulti.java
|
@@ -3,11 +3,11 @@ |
3 |
3 |
|
|
4 |
4 |
|
import java.util.*; |
5 |
5 |
|
|
|
6 |
+ |
import org.litesoft.core.simpletypes.nonpublic.*; |
6 |
7 |
|
import org.litesoft.core.typeutils.*; |
7 |
8 |
|
import org.litesoft.core.util.*; |
8 |
9 |
|
import org.litesoft.orsup.nonpublic.*; |
9 |
10 |
|
import org.litesoft.orsup.selection.*; |
10 |
|
- |
import org.litesoft.util.*; |
11 |
11 |
|
|
12 |
12 |
|
/** |
13 |
13 |
|
* Limited Class due to inability to convert to/from String for any type - currently limited to Long & String |
|
@@ -49,7 +49,7 @@ |
49 |
49 |
|
int rv = 0; |
50 |
50 |
|
for ( Object o : mIDs ) |
51 |
51 |
|
{ |
52 |
|
- |
rv += Utils.calcHashCode( o ); |
|
52 |
+ |
rv += EqualSupport.calcHashCode( o ); |
53 |
53 |
|
} |
54 |
54 |
|
return rv; |
55 |
55 |
|
} |
|
@@ -64,7 +64,7 @@ |
64 |
64 |
|
{ |
65 |
65 |
|
for ( int i = 0; i < mIDs.length; i++ ) |
66 |
66 |
|
{ |
67 |
|
- |
if ( !Utils.equal( this.mIDs[i], them.mIDs[i] ) ) |
|
67 |
+ |
if ( !EqualSupport.equal( this.mIDs[i], them.mIDs[i] ) ) |
68 |
68 |
|
{ |
69 |
69 |
|
return false; |
70 |
70 |
|
} |