Package org.apache.xmlgraphics.ps
Class PSDictionary
java.lang.Object
java.util.AbstractMap
java.util.HashMap
org.apache.xmlgraphics.ps.PSDictionary
- All Implemented Interfaces:
Serializable
,Cloneable
,Map
- Direct Known Subclasses:
PSPageDeviceDictionary
This class is used to encapsulate postscript dictionary objects.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
PSDictionary
public PSDictionary()
-
-
Method Details
-
valueOf
Parses a given a dictionary string and returns an object- Parameters:
str
- dictionary string- Returns:
- dictionary object
- Throws:
PSDictionaryFormatException
- thrown in the event that a parsing error occurred
-
equals
- Specified by:
equals
in interfaceMap
- Overrides:
equals
in classAbstractMap
- Parameters:
obj
- object to test equality against- Returns:
- whether a given object is equal to this dictionary object
- See Also:
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceMap
- Overrides:
hashCode
in classAbstractMap
-
toString
- Overrides:
toString
in classAbstractMap
-