As of Java 1.6, both Identity Hash Map and Enum Map did so.
When iterating through such a Map, the Entry value is only valid until you advance to the next iteration.
If, for example, you try to pass such an entry Set to an add All method, things will go badly wrong. Random object, uses it to generate one random number, and then discards the Random object.
If possible, rewrite the code so that the Random object is created once and saved, and each time a new random number is required invoke a method on the existing Random object to obtain it.
If it is important that the generated Random numbers not be guessable, you not create a new Random for each random number; the values are too easily guessable.
You should strongly consider using a java.security.
Using bit arithmetic and then comparing with the greater than operator can lead to unexpected results (of course depending on the value of SWT. = 0' instead of ' Class implements Cloneable but does not define or use the clone method.
SELECTED is a negative number, this is a candidate for a bug. SELECTED is not negative, it seems good practice to use '!