c

java.util.concurrent

CopyOnWriteArrayList

class CopyOnWriteArrayList[E <: AnyRef] extends List[E] with RandomAccess with Cloneable with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CopyOnWriteArrayList
  2. Serializable
  3. Cloneable
  4. RandomAccess
  5. List
  6. SequencedCollection
  7. Collection
  8. Iterable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CopyOnWriteArrayList(toCopyIn: Array[E])
  2. new CopyOnWriteArrayList(c: Collection[_ <: E])
  3. new CopyOnWriteArrayList()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(index: Int, element: E): Unit
    Definition Classes
    CopyOnWriteArrayListList
  5. def add(e: E): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection
  6. def addAll(index: Int, c: Collection[_ <: E]): Boolean
    Definition Classes
    CopyOnWriteArrayListList
  7. def addAll(c: Collection[_ <: E]): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection
  8. def addAllAbsent(c: Collection[_ <: E]): Int
  9. def addIfAbsent(e: E): Boolean
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def checkIndexInBounds(index: Int): Unit
    Attributes
    protected
  12. def checkIndexOnBounds(index: Int): Unit
    Attributes
    protected
  13. def clear(): Unit
    Definition Classes
    CopyOnWriteArrayListCollection
  14. def clone(): AnyRef
    Definition Classes
    CopyOnWriteArrayList → AnyRef
  15. def contains(o: Any): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection
  16. def containsAll(c: Collection[_]): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection
  17. def copyIfNeeded(): Unit
    Attributes
    protected
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(obj: Any): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection → AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def forEach(action: Consumer[_ >: E]): Unit
    Definition Classes
    Iterable
  22. def get(index: Int): E
    Definition Classes
    CopyOnWriteArrayListList
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    CopyOnWriteArrayListCollection → AnyRef → Any
  25. def indexOf(e: E, index: Int): Int
  26. def indexOf(o: Any): Int
    Definition Classes
    CopyOnWriteArrayListList
  27. def innerGet(index: Int): E
    Attributes
    protected
  28. def innerInsert(index: Int, elem: E): Unit
    Attributes
    protected
  29. def innerInsertMany(index: Int, items: Collection[_ <: E]): Unit
    Attributes
    protected
  30. def innerPush(elem: E): Unit
    Attributes
    protected
  31. def innerRemove(index: Int): E
    Attributes
    protected
  32. def innerRemoveMany(index: Int, count: Int): Unit
    Attributes
    protected
  33. def innerSet(index: Int, elem: E): Unit
    Attributes
    protected
  34. def innerSnapshot(): ArrayList[E]
    Attributes
    protected
  35. def isEmpty(): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def iterator(): Iterator[E]
    Definition Classes
    CopyOnWriteArrayListCollectionIterable
  38. def lastIndexOf(e: E, index: Int): Int
  39. def lastIndexOf(o: Any): Int
    Definition Classes
    CopyOnWriteArrayListList
  40. def listIterator(index: Int): ListIterator[E]
    Definition Classes
    CopyOnWriteArrayListList
  41. def listIterator(): ListIterator[E]
    Definition Classes
    CopyOnWriteArrayListList
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. def parallelStream(): Stream[E]
    Definition Classes
    Collection
  46. def remove(o: Any): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection
  47. def remove(index: Int): E
    Definition Classes
    CopyOnWriteArrayListList
  48. def removeAll(c: Collection[_]): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection
  49. def removeIf(filter: Predicate[_ >: E]): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection
  50. def replaceAll(operator: UnaryOperator[E]): Unit
    Definition Classes
    CopyOnWriteArrayListList
  51. def retainAll(c: Collection[_]): Boolean
    Definition Classes
    CopyOnWriteArrayListCollection
  52. def set(index: Int, element: E): E
    Definition Classes
    CopyOnWriteArrayListList
  53. def size(): Int
    Definition Classes
    CopyOnWriteArrayListCollection
  54. def sort(c: Comparator[_ >: E]): Unit
    Definition Classes
    List
  55. def spliterator(): Spliterator[E]

    From the Java 8 documentation: The default implementation should usually be overridden.

    From the Java 8 documentation: The default implementation should usually be overridden. The spliterator returned by the default implementation has poor splitting capabilities, is unsized, and does not report any spliterator characteristics. Implementing classes can nearly always provide a better implementation.

    Definition Classes
    CollectionIterable
  56. def stream(): Stream[E]
    Definition Classes
    Collection
  57. def subList(fromIndex: Int, toIndex: Int): List[E]
    Definition Classes
    CopyOnWriteArrayListList
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. def toArray[T <: AnyRef](a: Array[T]): Array[T]
    Definition Classes
    CopyOnWriteArrayListCollection
  60. def toArray(): Array[AnyRef]
    Definition Classes
    CopyOnWriteArrayListCollection
  61. def toString(): String
    Definition Classes
    CopyOnWriteArrayList → AnyRef → Any
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Cloneable

Inherited from RandomAccess

Inherited from List[E]

Inherited from SequencedCollection[E]

Inherited from Collection[E]

Inherited from Iterable[E]

Inherited from AnyRef

Inherited from Any

Ungrouped