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 ClassesModifier and TypeClassDescriptionprivate static classThis class is used to parse dictionary strings.Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
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:
equalsin interfaceMap- Overrides:
equalsin 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:
hashCodein interfaceMap- Overrides:
hashCodein classAbstractMap
-
toString
- Overrides:
toStringin classAbstractMap
-