Serializable, Cloneable, Mappublic class PSPageDeviceDictionary extends PSDictionary
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>| Constructor | Description |
|---|---|
PSPageDeviceDictionary() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
|
String |
getContent() |
Returns a dictionary string with containing all unwritten content note:
unnecessary writes are important as there is a device specific
initgraphics call by the underlying postscript interpreter on every
setpagedevice call which can result in blank pages etc.
|
boolean |
isEmpty() |
Returns true if this map contains no key-value mappings.
|
Object |
put(Object key,
Object value) |
|
void |
putAll(Map m) |
|
void |
setFlushOnRetrieval(boolean flushOnRetrieval) |
The contents of the dictionary are flushed when written
|
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toString, valueOfpublic Object put(Object key, Object value)
put in interface Mapput in class HashMapkey - key with which the specified value is to be associated.value - value to be associated with the specified key.Map.put(Object, Object)public void putAll(Map m)
public void clear()
clear in interface Mapclear in class HashMapMap.clear()public boolean isEmpty()
public void setFlushOnRetrieval(boolean flushOnRetrieval)
flushOnRetrieval - boolean valuepublic String getContent()
Copyright © 2018 Apache Software Foundation. All rights reserved.