Search Results for

    Show / Hide Table of Contents

    Class LockableObservableCollection<E>

    Defines ObservableCollection with ReadWriteLock to ensure thread safety

    Inheritance
    Object
    java.util.AbstractCollection
    java.util.AbstractList
    ArrayList
    ObservableCollection
    LockableObservableCollection<E>
    Inherited Members
    ObservableCollection.add(E)
    ObservableCollection.add(int,E)
    ObservableCollection.addAll(int,Collection<? extends E>)
    ObservableCollection.addAll(Collection<? extends E>)
    ObservableCollection.addObserver(ICollectionObserver<E>)
    ObservableCollection.clear()
    ObservableCollection.remove(int)
    ObservableCollection.remove(Object)
    ObservableCollection.removeAll(Collection<?>)
    ObservableCollection.removeObserver(ICollectionObserver<E>)
    ObservableCollection.removeRange(int,int)
    ObservableCollection.retainAll(Collection<?>)
    ObservableCollection.set(int,E)
    ObservableCollection.setAll(Collection<? extends E>)
    ObservableCollection.setAll(List<? extends E>,Predicate<? super E>)
    Object.finalize()
    Object.getClass()
    Object.notify()
    Object.notifyAll()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    AbstractCollection.containsAll(Collection<?>)
    AbstractCollection.toString()
    ArrayList.<T>toArray(T[])
    ArrayList.addFirst(E)
    ArrayList.addLast(E)
    ArrayList.clone()
    ArrayList.contains(Object)
    ArrayList.ensureCapacity(int)
    ArrayList.equals(Object)
    ArrayList.forEach(Consumer<? super E>)
    ArrayList.get(int)
    ArrayList.getFirst()
    ArrayList.getLast()
    ArrayList.hashCode()
    ArrayList.indexOf(Object)
    ArrayList.isEmpty()
    ArrayList.iterator()
    ArrayList.lastIndexOf(Object)
    ArrayList.listIterator()
    ArrayList.listIterator(int)
    ArrayList.removeFirst()
    ArrayList.removeIf(Predicate<? super E>)
    ArrayList.removeLast()
    ArrayList.replaceAll(UnaryOperator<E>)
    ArrayList.size()
    ArrayList.sort(Comparator<? super E>)
    ArrayList.spliterator()
    ArrayList.subList(int,int)
    ArrayList.toArray()
    ArrayList.trimToSize()
    Namespace:
    Assembly: .dll
    Syntax
    public class LockableObservableCollection<E> extends ObservableCollection<E>
    Type Parameters
    Name Description
    E

    Constructors

    LockableObservableCollection()

    Creates a new LockableObservableCollection instance

    Declaration
    public LockableObservableCollection()

    LockableObservableCollection(int capacity)

    Creates a new LockableObservableCollection instance

    Declaration
    public LockableObservableCollection(int capacity)
    Parameters
    Type Name Description
    int capacity

    The initial capacity

    LockableObservableCollection(Collection<? extends E> collection)

    Creates a new LockableObservableCollection instance which contains the elements of the specified 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
    Type Description
    ReadWriteLock

    Methods

    add(E object)

    Declaration
    public boolean add(E object)
    Parameters
    Type Name Description
    E object
    Returns
    Type Description
    boolean
    Overrides
    ObservableCollection<E>.add(E object)

    add(int location, E object)

    Declaration
    public void add(int location, E object)
    Parameters
    Type Name Description
    int location
    E object
    Overrides
    ObservableCollection<E>.add(int location, E object)

    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
    Type Description
    boolean
    Overrides
    ObservableCollection<E>.addAll(int location, Collection<? extends E> collection)

    addAll(Collection<? extends E> collection)

    Declaration
    public boolean addAll(Collection<? extends E> collection)
    Parameters
    Type Name Description
    Collection<? extends E> collection
    Returns
    Type Description
    boolean
    Overrides
    ObservableCollection<E>.addAll(Collection<? extends E> collection)

    clear()

    Declaration
    public void clear()
    Overrides
    ObservableCollection<E>.clear()

    remove(int location)

    Declaration
    public E remove(int location)
    Parameters
    Type Name Description
    int location
    Returns
    Type Description
    E
    Overrides
    ObservableCollection<E>.remove(int location)

    remove(Object object)

    Declaration
    public boolean remove(Object object)
    Parameters
    Type Name Description
    Object object
    Returns
    Type Description
    boolean
    Overrides
    ObservableCollection<E>.remove(Object object)

    removeAll(Collection<?> collection)

    Declaration
    public boolean removeAll(Collection<?> collection)
    Parameters
    Type Name Description
    Collection<?> collection
    Returns
    Type Description
    boolean
    Overrides
    ObservableCollection<E>.removeAll(Collection<?> collection)

    removeRange(int fromIndex, int toIndex)

    Declaration
    protected void removeRange(int fromIndex, int toIndex)
    Parameters
    Type Name Description
    int fromIndex
    int toIndex
    Overrides
    ObservableCollection<E>.removeRange(int fromIndex, int toIndex)

    retainAll(Collection<?> collection)

    Declaration
    public boolean retainAll(Collection<?> collection)
    Parameters
    Type Name Description
    Collection<?> collection
    Returns
    Type Description
    boolean
    Overrides
    ObservableCollection<E>.retainAll(Collection<?> collection)

    set(int location, E object)

    Declaration
    public E set(int location, E object)
    Parameters
    Type Name Description
    int location
    E object
    Returns
    Type Description
    E
    Overrides
    ObservableCollection<E>.set(int location, E object)
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml