Class LockableObservableCollection<E>
Inheritance
java.util.AbstractCollection
java.util.AbstractList
LockableObservableCollection<E>
Namespace:
Assembly: .dll
Syntax
public class LockableObservableCollection<E> extends ObservableCollection<E>
Type Parameters
Constructors
LockableObservableCollection()
Declaration
public LockableObservableCollection()
LockableObservableCollection(int capacity)
Declaration
public LockableObservableCollection(int capacity)
Parameters
| Type |
Name |
Description |
| int |
capacity |
The initial capacity
|
LockableObservableCollection(Collection<? extends E> collection)
Declaration
public LockableObservableCollection(Collection<? extends E> collection)
Parameters
| Type |
Name |
Description |
| Collection<? extends E> |
collection |
The collection with items to add
|
Fields
lock
Declaration
public final ReadWriteLock lock
Field Value
Methods
add(E object)
Declaration
public boolean add(E object)
Parameters
| Type |
Name |
Description |
| E |
object |
|
Returns
Overrides
add(int location, E object)
Declaration
public void add(int location, E object)
Parameters
| Type |
Name |
Description |
| int |
location |
|
| E |
object |
|
Overrides
addAll(int location, Collection<? extends E> collection)
Declaration
public boolean addAll(int location, Collection<? extends E> collection)
Parameters
| Type |
Name |
Description |
| int |
location |
|
| Collection<? extends E> |
collection |
|
Returns
Overrides
addAll(Collection<? extends E> collection)
Declaration
public boolean addAll(Collection<? extends E> collection)
Parameters
| Type |
Name |
Description |
| Collection<? extends E> |
collection |
|
Returns
Overrides
clear()
Declaration
Overrides
remove(int location)
Declaration
public E remove(int location)
Parameters
| Type |
Name |
Description |
| int |
location |
|
Returns
Overrides
remove(Object object)
Declaration
public boolean remove(Object object)
Parameters
| Type |
Name |
Description |
| Object |
object |
|
Returns
Overrides
removeAll(Collection<?> collection)
Declaration
public boolean removeAll(Collection<?> collection)
Parameters
Returns
Overrides
removeRange(int fromIndex, int toIndex)
Declaration
protected void removeRange(int fromIndex, int toIndex)
Parameters
| Type |
Name |
Description |
| int |
fromIndex |
|
| int |
toIndex |
|
Overrides
retainAll(Collection<?> collection)
Declaration
public boolean retainAll(Collection<?> collection)
Parameters
Returns
Overrides
set(int location, E object)
Declaration
public E set(int location, E object)
Parameters
| Type |
Name |
Description |
| int |
location |
|
| E |
object |
|
Returns
Overrides