Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.faces.model
Class ResultSetDataModel.WrapResultSetValues  view ResultSetDataModel.WrapResultSetValues download ResultSetDataModel.WrapResultSetValues.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjavax.faces.model.ResultSetDataModel.WrapResultSetValues
All Implemented Interfaces:
java.util.Collection, java.lang.Iterable
Enclosing class:
ResultSetDataModel

private static class ResultSetDataModel.WrapResultSetValues
extends java.util.AbstractCollection


Field Summary
private  ResultSetDataModel.WrapResultSetMap _wrapMap
           
 
Constructor Summary
ResultSetDataModel.WrapResultSetValues(ResultSetDataModel.WrapResultSetMap wrapMap)
           
 
Method Summary
 boolean add(java.lang.Object o)
          Add an object to the collection (optional operation).
 boolean addAll(java.util.Collection c)
          Add all the elements of a given collection to this collection (optional operation).
 void clear()
          Remove all elements from the collection (optional operation).
 boolean contains(java.lang.Object value)
          Test whether this collection contains a given object.
 java.util.Iterator iterator()
          Return an Iterator over this collection.
 boolean remove(java.lang.Object o)
          Remove a single instance of an object from this collection (optional operation).
 boolean removeAll(java.util.Collection c)
          Remove from this collection all its elements that are contained in a given collection (optional operation).
 boolean retainAll(java.util.Collection c)
          Remove from this collection all its elements that are not contained in a given collection (optional operation).
 int size()
          Return the number of elements in this collection.
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Field Detail

_wrapMap

private ResultSetDataModel.WrapResultSetMap _wrapMap
Constructor Detail

ResultSetDataModel.WrapResultSetValues

public ResultSetDataModel.WrapResultSetValues(ResultSetDataModel.WrapResultSetMap wrapMap)
Method Detail

add

public boolean add(java.lang.Object o)
Description copied from class: java.util.AbstractCollection
Add an object to the collection (optional operation). This implementation always throws an UnsupportedOperationException - it should be overridden if the collection is to be modifiable. If the collection does not accept duplicates, simply return false. Collections may specify limitations on what may be added.


addAll

public boolean addAll(java.util.Collection c)
Description copied from class: java.util.AbstractCollection
Add all the elements of a given collection to this collection (optional operation). This implementation obtains an Iterator over the given collection and iterates over it, adding each element with the add(Object) method (thus this method will fail with an UnsupportedOperationException if the add method does). The behavior is unspecified if the specified collection is modified during the iteration, including the special case of trying addAll(this) on a non-empty collection.


clear

public void clear()
Description copied from class: java.util.AbstractCollection
Remove all elements from the collection (optional operation). This implementation obtains an iterator over the collection and calls next and remove on it repeatedly (thus this method will fail with an UnsupportedOperationException if the Iterator's remove method does) until there are no more elements to remove. Many implementations will have a faster way of doing this.


contains

public boolean contains(java.lang.Object value)
Description copied from class: java.util.AbstractCollection
Test whether this collection contains a given object. That is, if the collection has an element e such that (o == null ? e == null : o.equals(e)). This implementation obtains an iterator over the collection and iterates over it, testing each element for equality with the given object. If it is equal, true is returned. Otherwise false is returned when the end of the collection is reached.


iterator

public java.util.Iterator iterator()
Description copied from class: java.util.AbstractCollection
Return an Iterator over this collection. The iterator must provide the hasNext and next methods and should in addition provide remove if the collection is modifiable.


remove

public boolean remove(java.lang.Object o)
Description copied from class: java.util.AbstractCollection
Remove a single instance of an object from this collection (optional operation). That is, remove one element e such that (o == null ? e == null : o.equals(e)), if such an element exists. This implementation obtains an iterator over the collection and iterates over it, testing each element for equality with the given object. If it is equal, it is removed by the iterator's remove method (thus this method will fail with an UnsupportedOperationException if the Iterator's remove method does). After the first element has been removed, true is returned; if the end of the collection is reached, false is returned.


removeAll

public boolean removeAll(java.util.Collection c)
Description copied from class: java.util.AbstractCollection
Remove from this collection all its elements that are contained in a given collection (optional operation). This implementation iterates over this collection, and for each element tests if it is contained in the given collection. If so, it is removed by the Iterator's remove method (thus this method will fail with an UnsupportedOperationException if the Iterator's remove method does).


retainAll

public boolean retainAll(java.util.Collection c)
Description copied from class: java.util.AbstractCollection
Remove from this collection all its elements that are not contained in a given collection (optional operation). This implementation iterates over this collection, and for each element tests if it is contained in the given collection. If not, it is removed by the Iterator's remove method (thus this method will fail with an UnsupportedOperationException if the Iterator's remove method does).


size

public int size()
Description copied from class: java.util.AbstractCollection
Return the number of elements in this collection. If there are more than Integer.MAX_VALUE elements, return Integer.MAX_VALUE.