Package java.util
Class TreeMap

Public Method comparator

Comparator comparator()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method returns a comperator instance which is used to order this map, or null if this map uses its key's natural order.

Example

   byte randByte[] = new byte[10];
   rand.nextBytes(randByte);
   for (int i = 0; i < 10; i++)
      Logger.log("random value: " + randByte[i]);

The nextByte method returns the bytes array with random values.