Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

ListShuffler

ListShuffler

Name

ListShuffler --  A class to randomize the order of a given Swarm List

Description

ListShuffler randomizes the order of the elements in a List; either the whole list or the num lowest elements. The list must be supplied. An uniform distribution can be supplied, or the system- supplied uniformUnsRand is used. The algorithm is from Knuth. All these methods modify the underlying collection, so any indexes should always be regenerated.

Protocols adopted by ListShuffler

Create Drop CREATABLE

Methods

Phase: Creating

Phase: Using