Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static byte randomOrderedKey(Random rand,
Generates a random key that is guaranteed to increase as the given index i
increases. The result consists of a prefix, which is a deterministic
increasing function of i, and a random suffix.
rand - random number generator to use
- the random key
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.