Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy





Class StylePoolContainer

  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by 
All Implemented Interfaces:, java.lang.Cloneable, java.util.Map

public class StylePoolContainer
extends java.util.HashMap

The container type used by the cached styles as part of the style caching performance tuning optimization. Consider having a threshold and when we reach a threshold we could remove infrequently accessed styles, by ovveriding get to increment a cache hit cnt when get succeeds. Remember if we are to use a weakHash the key is weak not the value.

See Also:
Serialized Form

Constructor Summary
StylePoolContainer ()
Method Summary
 java.lang.Object put (java.lang.Object key, java.lang.Object value)
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
equals, hashCode

Constructor Detail


public StylePoolContainer()
Method Detail


public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Specified by:
put in interface java.util.Map
put in class java.util.HashMap
See Also:
Map.put(java.lang.Object, java.lang.Object)


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire