net.sf.cglib
Class BeanMap

java.lang.Object
  |
  +--net.sf.cglib.BeanMap
All Implemented Interfaces:
java.util.Map

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


Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
protected  java.lang.Object bean
           
static int SWITCH_STYLE_HASH
           
static int SWITCH_STYLE_TRIE
           
 
Constructor Summary
protected BeanMap()
           
protected BeanMap(java.lang.Object bean)
           
 
Method Summary
 void clear()
           
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
static BeanMap create(java.lang.Object bean, java.lang.ClassLoader loader)
           
static BeanMap create(java.lang.Object bean, int switchStyle, java.lang.ClassLoader loader)
           
 java.util.Set entrySet()
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean isEmpty()
           
protected abstract  BeanMap newInstance(java.lang.Object bean)
           
 void putAll(java.util.Map t)
           
 java.lang.Object remove(java.lang.Object key)
           
 java.util.Collection values()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
get, keySet, put, size
 

Field Detail

SWITCH_STYLE_TRIE

public static final int SWITCH_STYLE_TRIE

SWITCH_STYLE_HASH

public static final int SWITCH_STYLE_HASH

bean

protected java.lang.Object bean
Constructor Detail

BeanMap

protected BeanMap()

BeanMap

protected BeanMap(java.lang.Object bean)
Method Detail

newInstance

protected abstract BeanMap newInstance(java.lang.Object bean)

create

public static BeanMap create(java.lang.Object bean,
                             java.lang.ClassLoader loader)

create

public static BeanMap create(java.lang.Object bean,
                             int switchStyle,
                             java.lang.ClassLoader loader)

clear

public void clear()
Specified by:
clear 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

isEmpty

public boolean isEmpty()
Specified by:
isEmpty 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

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map
Overrides:
hashCode in class java.lang.Object

entrySet

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

values

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


Copyright © 2002-2003 cglib. All Rights Reserved.