org.josql.incubator
Class FilteredArrayList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by org.josql.incubator.FilteredArrayList
All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public class FilteredArrayList
extends ArrayList

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
FilteredArrayList(Query q)
           
FilteredArrayList(Query q, Collection c)
           
FilteredArrayList(String q)
           
FilteredArrayList(String q, Collection c)
           
FilteredArrayList(String q, int cap)
           
 
Method Summary
 void add(int index, Object o)
           
 boolean add(Object o)
           
 boolean addAll(Collection c)
           
 boolean addAll(int index, Collection c)
           
 boolean canAdd(Object o)
           
 Object clone()
           
 List cloneList()
           
 List cloneList(Query q)
           
 FilteredArrayList cloneSelf()
           
 FilteredArrayList cloneSelf(Query q)
           
 Exception getException()
           
 Query getQuery()
           
 boolean isNoThrowOnWhereFalse()
           
 void resort()
           
 Object set(int index, Object o)
           
 void setNoThrowOnWhereFalse(boolean v)
           
 
Methods inherited from class java.util.ArrayList
clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

FilteredArrayList

public FilteredArrayList(String q)
                  throws QueryParseException
Throws:
QueryParseException

FilteredArrayList

public FilteredArrayList(String q,
                         int cap)
                  throws QueryParseException
Throws:
QueryParseException

FilteredArrayList

public FilteredArrayList(String q,
                         Collection c)
                  throws QueryParseException
Throws:
QueryParseException

FilteredArrayList

public FilteredArrayList(Query q)

FilteredArrayList

public FilteredArrayList(Query q,
                         Collection c)
Method Detail

isNoThrowOnWhereFalse

public boolean isNoThrowOnWhereFalse()

setNoThrowOnWhereFalse

public void setNoThrowOnWhereFalse(boolean v)

getException

public Exception getException()

getQuery

public Query getQuery()

resort

public void resort()

addAll

public boolean addAll(Collection c)
               throws IllegalArgumentException
Specified by:
addAll in interface Collection
Specified by:
addAll in interface List
Overrides:
addAll in class ArrayList
Throws:
IllegalArgumentException

addAll

public boolean addAll(int index,
                      Collection c)
               throws IllegalArgumentException
Specified by:
addAll in interface List
Overrides:
addAll in class ArrayList
Throws:
IllegalArgumentException

add

public void add(int index,
                Object o)
         throws IllegalArgumentException
Specified by:
add in interface List
Overrides:
add in class ArrayList
Throws:
IllegalArgumentException

set

public Object set(int index,
                  Object o)
           throws IllegalArgumentException
Specified by:
set in interface List
Overrides:
set in class ArrayList
Throws:
IllegalArgumentException

add

public boolean add(Object o)
            throws IllegalArgumentException
Specified by:
add in interface Collection
Specified by:
add in interface List
Overrides:
add in class ArrayList
Throws:
IllegalArgumentException

canAdd

public boolean canAdd(Object o)
               throws QueryExecutionException
Throws:
QueryExecutionException

clone

public Object clone()
Overrides:
clone in class ArrayList

cloneList

public List cloneList(Query q)

cloneList

public List cloneList()

cloneSelf

public FilteredArrayList cloneSelf()

cloneSelf

public FilteredArrayList cloneSelf(Query q)


  Copyright © 2008 Gary Bentley. All Rights Reserved.