public interface DocumentLayerCache
Modifier and Type | Method and Description |
---|---|
DocumentLayer |
getDocumentLayer(String name,
int priority)
Tries to retrieve a document layer with given name and priority from the cache.
|
void |
putDocumentLayer(DocumentLayer layer)
Stores the given layer in this cache.
|
DocumentLayer getDocumentLayer(String name, int priority)
name
- the layer namepriority
- the priority.null
IllegalArgumentException
- if name is null
or there is already a document
layer with the given name in the cache, but the requested priority differs from the existing
one's.void putDocumentLayer(DocumentLayer layer)
layer
- the layer to storeCopyright © 2024 levigo holding gmbh. All rights reserved.