org.joda.beans
Class StandardPropertyMap<B extends Bean<B>>

java.lang.Object
  extended by java.util.AbstractMap<String,Property<B,?>>
      extended by org.joda.beans.StandardPropertyMap<B>
Type Parameters:
B - the type of the bean
All Implemented Interfaces:
Map<String,Property<B,?>>

public final class StandardPropertyMap<B extends Bean<B>>
extends AbstractMap<String,Property<B,?>>

A standard map of properties.

This is the standard implementation of a map of properties derived from a meta-bean.

Author:
Stephen Colebourne

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 Set<Map.Entry<String,Property<B,?>>> entrySet()
           
static
<B extends Bean<B>>
StandardPropertyMap<B>
of(B metaBean)
          Factory to create a property map avoiding duplicate generics.
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

of

public static <B extends Bean<B>> StandardPropertyMap<B> of(B metaBean)
Factory to create a property map avoiding duplicate generics.

Parameters:
metaBean - the meta-bean

entrySet

public Set<Map.Entry<String,Property<B,?>>> entrySet()
Specified by:
entrySet in interface Map<String,Property<B extends Bean<B>,?>>
Specified by:
entrySet in class AbstractMap<String,Property<B extends Bean<B>,?>>


Copyright © 2007-2010 Joda.org. All Rights Reserved.