jadex.util.collection
Class ConcurrencyCheckingList
java.lang.Object
   jadex.util.collection.ConcurrencyCheckingList
jadex.util.collection.ConcurrencyCheckingList
- All Implemented Interfaces: 
- Serializable, Iterable, Collection, List
- public class ConcurrencyCheckingList 
- extends Object- implements List, Serializable
A wrapper for a list to detect undesired
  concurrent access.
- See Also:
- Serialized Form
 
 
 
 
ConcurrencyCheckingList
public ConcurrencyCheckingList(List list)
- Wrap the given list.
 
add
public boolean add(Object o)
- 
- Specified by:
- addin interface- Collection
- Specified by:
- addin interface- List
 
- 
 
add
public void add(int index,
                Object element)
- 
- Specified by:
- addin interface- List
 
- 
 
addAll
public boolean addAll(Collection c)
- 
- Specified by:
- addAllin interface- Collection
- Specified by:
- addAllin interface- List
 
- 
 
addAll
public boolean addAll(int index,
                      Collection c)
- 
- Specified by:
- addAllin interface- List
 
- 
 
clear
public void clear()
- 
- Specified by:
- clearin interface- Collection
- Specified by:
- clearin interface- List
 
- 
 
contains
public boolean contains(Object o)
- 
- Specified by:
- containsin interface- Collection
- Specified by:
- containsin interface- List
 
- 
 
containsAll
public boolean containsAll(Collection c)
- 
- Specified by:
- containsAllin interface- Collection
- Specified by:
- containsAllin interface- List
 
- 
 
get
public Object get(int index)
- 
- Specified by:
- getin interface- List
 
- 
 
indexOf
public int indexOf(Object o)
- 
- Specified by:
- indexOfin interface- List
 
- 
 
isEmpty
public boolean isEmpty()
- 
- Specified by:
- isEmptyin interface- Collection
- Specified by:
- isEmptyin interface- List
 
- 
 
iterator
public Iterator iterator()
- 
- Specified by:
- iteratorin interface- Iterable
- Specified by:
- iteratorin interface- Collection
- Specified by:
- iteratorin interface- List
 
- 
 
lastIndexOf
public int lastIndexOf(Object o)
- 
- Specified by:
- lastIndexOfin interface- List
 
- 
 
listIterator
public ListIterator listIterator()
- 
- Specified by:
- listIteratorin interface- List
 
- 
 
listIterator
public ListIterator listIterator(int index)
- 
- Specified by:
- listIteratorin interface- List
 
- 
 
remove
public Object remove(int index)
- 
- Specified by:
- removein interface- List
 
- 
 
remove
public boolean remove(Object o)
- 
- Specified by:
- removein interface- Collection
- Specified by:
- removein interface- List
 
- 
 
removeAll
public boolean removeAll(Collection c)
- 
- Specified by:
- removeAllin interface- Collection
- Specified by:
- removeAllin interface- List
 
- 
 
retainAll
public boolean retainAll(Collection c)
- 
- Specified by:
- retainAllin interface- Collection
- Specified by:
- retainAllin interface- List
 
- 
 
set
public Object set(int index,
                  Object element)
- 
- Specified by:
- setin interface- List
 
- 
 
size
public int size()
- 
- Specified by:
- sizein interface- Collection
- Specified by:
- sizein interface- List
 
- 
 
subList
public List subList(int fromIndex,
                    int toIndex)
- 
- Specified by:
- subListin interface- List
 
- 
 
toArray
public Object[] toArray()
- 
- Specified by:
- toArrayin interface- Collection
- Specified by:
- toArrayin interface- List
 
- 
 
toArray
public Object[] toArray(Object[] a)
- 
- Specified by:
- toArrayin interface- Collection
- Specified by:
- toArrayin interface- List
 
- 
 
Submit a bug or feature
 For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.