Home » Mojarra-2.0.1 » javax » faces » component » [javadoc | source]
javax.faces.component
class: TypedCollections [javadoc | source]
java.lang.Object
   javax.faces.component.TypedCollections
Method from javax.faces.component.TypedCollections Summary:
dynamicallyCastCollection,   dynamicallyCastList,   dynamicallyCastMap,   dynamicallyCastSet
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.faces.component.TypedCollections Detail:
 static TypedC dynamicallyCastCollection(Collection<?> c,
    Class<E> type,
    Class<TypedC> collectionType) 
    Dynamically check that the members of the collection are all instances of the given type (or null), and that the collection itself is of the given collection type.
 static List<E> dynamicallyCastList(List<?> list,
    Class<E> type) 
    Dynamically check that the members of the list are all instances of the given type (or null).
 static Map<K, V> dynamicallyCastMap(Map<?, ?> map,
    Class<K> keyType,
    Class<V> valueType) 
    Dynamically check that the keys and values in the map are all instances of the correct types (or null).
 static Set<E> dynamicallyCastSet(Set<?> set,
    Class<E> type) 
    Dynamically check that the members of the set are all instances of the given type (or null).