Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.pdfbox.util
Class MapUtil

    java.lang.Object
      org.pdfbox.util.MapUtil

public class MapUtil
extends Object

This class with handle some simple Map operations.

Version:
  $Revision: 1.2 $
Author:
  Ben Litchfield

Method Summary
`static String` | `getNextUniqueKey(Map map, String prefix)` Generate a unique key for the map based on a prefix.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getNextUniqueKey

    public static final String getNextUniqueKey(Map map,
                                                String prefix)

  Generate a unique key for the map based on a prefix.

  Parameters:
    `map` - The map to look for existing keys.
    `prefix` - The prefix to use when generating the key.
  Returns:
    The new unique key that does not currently exist in the map.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD