/[classpath]/classpath/java/util/Collections.java
ViewVC logotype

Diff of /classpath/java/util/Collections.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by ericb, Thu Oct 25 07:34:19 2001 UTC revision 1.24 by ericb, Wed Oct 31 01:00:30 2001 UTC
# Line 1174  public class Collections Line 1174  public class Collections
1174    /**    /**
1175     * Cache a single Random object for use by shuffle(List). This improves     * Cache a single Random object for use by shuffle(List). This improves
1176     * performance as well as ensuring that sequential calls to shuffle() will     * performance as well as ensuring that sequential calls to shuffle() will
1177     * not result in the same shuffle order occuring: the resolution of     * not result in the same shuffle order occurring: the resolution of
1178     * System.currentTimeMillis() is not sufficient to guarantee a unique seed.     * System.currentTimeMillis() is not sufficient to guarantee a unique seed.
1179     */     */
1180    private static Random defaultRandom = null;    private static Random defaultRandom = null;

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26