test/unit/org/apache/cassandra/dht/PartitionerTestCase.java
/**
     * Recurses randomly to the given depth a few times.
     */
Recurses randomly to the given depth a few times.
Recurses randomly to the given depth a few times .
public void assertMidpoint(T left, T right, int depth)
    {
        Random rand = new Random();
        for (int i = 0; i < 1000; i++)
        {
            assertMidpoint(left, right, rand, depth);
        }
    }
public void assertMidpoint ( T left , T right , int depth ) { Random rand = new Random ( ) ; for ( int i = 0 ; i < 1000 ; i ++ ) { assertMidpoint ( left , right , rand , depth ) ; } }
Recurses randomly to the given depth a few times.
Recurses randomly to the given depth a few times .