trait Collection[E] extends Iterable[E]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Collection
- Iterable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def add(e: E): Boolean
- abstract def addAll(c: Collection[_ <: E]): Boolean
- abstract def clear(): Unit
- abstract def contains(o: Any): Boolean
- abstract def containsAll(c: Collection[_]): Boolean
- abstract def isEmpty(): Boolean
-
abstract
def
iterator(): Iterator[E]
- Definition Classes
- Collection → Iterable
- abstract def remove(o: Any): Boolean
- abstract def removeAll(c: Collection[_]): Boolean
- abstract def retainAll(c: Collection[_]): Boolean
- abstract def size(): Int
- abstract def toArray[T <: AnyRef](a: Array[T]): Array[T]
- abstract def toArray(): Array[AnyRef]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
forEach(action: Consumer[_ >: E]): Unit
- Definition Classes
- Iterable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parallelStream(): Stream[E]
- def removeIf(filter: Predicate[_ >: E]): Boolean
-
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
- Collection → Iterable
- def stream(): Stream[E]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()