Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
parent
c648dedbde
commit
97b8365caf
17478 changed files with 606493 additions and 100744 deletions
|
@ -77,7 +77,7 @@ import java.security.NoSuchAlgorithmException;
|
|||
*/
|
||||
public final class UUID
|
||||
extends Object
|
||||
implements Serializable, Comparable // genericizeme!
|
||||
implements Serializable, Comparable<UUID>
|
||||
{
|
||||
private static final long serialVersionUID = -4856846361193249489L;
|
||||
|
||||
|
@ -121,17 +121,6 @@ public final class UUID
|
|||
return (int)((leastSigBits & 0x3FFF000000000000L) >> 48);
|
||||
}
|
||||
|
||||
/**
|
||||
* Compare this UUID to another.
|
||||
* The comparison is performed as between two 128-bit integers.
|
||||
*
|
||||
* @return -1 if this < val, 0 if they are equal, 1 if this > val.
|
||||
*/
|
||||
public int compareTo(Object val)
|
||||
{
|
||||
return compareTo((UUID)val);
|
||||
}
|
||||
|
||||
/**
|
||||
* Compare this UUID to another.
|
||||
* The comparison is performed as between two 128-bit integers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue