org.pdfbox.util
Class MapUtil
public class MapUtil
extends java.lang.Object
This class with handle some simple Map operations.
static String | getNextUniqueKey(Map map, String prefix)- Generate a unique key for the map based on a prefix.
|
getNextUniqueKey
public static final String getNextUniqueKey(Map map,
String prefix) Generate a unique key for the map based on a prefix.
map - The map to look for existing keys.prefix - The prefix to use when generating the key.
- The new unique key that does not currently exist in the map.