站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

LazyMap - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.common.util
Class LazyMap

java.lang.Object
  extended byorg.jboss.portal.common.util.LazyMap
All Implemented Interfaces:
java.util.Map
Direct Known Subclasses:
EventBroadcasterInterceptor.LazyParameterMap

public abstract class LazyMap
extends java.lang.Object
implements java.util.Map

Version:
$Revision: 5451 $
Author:
Julien Viet

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
private  java.util.Map delegate
          .
private  boolean modified
          .
 
Constructor Summary
LazyMap()
           
 
Method Summary
 void clear()
           
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
protected abstract  java.util.Map createDelegate()
          Create the delegate.
 java.util.Set entrySet()
           
 boolean equals(java.lang.Object o)
           
 java.lang.Object get(java.lang.Object key)
           
private  java.util.Map getDelegate()
           
 int hashCode()
           
 boolean isEmpty()
           
 boolean isModified()
           
 java.util.Set keySet()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 void putAll(java.util.Map t)
           
 java.lang.Object remove(java.lang.Object key)
           
 int size()
           
 java.util.Collection values()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

private java.util.Map delegate
.


modified

private boolean modified
.

Constructor Detail

LazyMap

public LazyMap()
Method Detail

createDelegate

protected abstract java.util.Map createDelegate()
Create the delegate. There are no guarantees that this method will be called only once.


isModified

public boolean isModified()

getDelegate

private java.util.Map getDelegate()

size

public int size()
Specified by:
size in interface java.util.Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map

containsKey

public boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface java.util.Map

containsValue

public boolean containsValue(java.lang.Object value)
Specified by:
containsValue in interface java.util.Map

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface java.util.Map

put

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

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map

putAll

public void putAll(java.util.Map t)
Specified by:
putAll in interface java.util.Map

clear

public void clear()
Specified by:
clear in interface java.util.Map

keySet

public java.util.Set keySet()
Specified by:
keySet in interface java.util.Map

values

public java.util.Collection values()
Specified by:
values in interface java.util.Map

entrySet

public java.util.Set entrySet()
Specified by:
entrySet in interface java.util.Map

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Map

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map