object Collections
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Collections
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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 lazy val EMPTY_LIST: List[_]
- final lazy val EMPTY_MAP: Map[_, _]
- final lazy val EMPTY_SET: Set[_]
- def addAll[T](c: Collection[_ >: T], elements: Array[AnyRef]): Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def binarySearch[T](list: List[_ <: T], key: T, c: Comparator[_ >: T]): Int
- def binarySearch[T](list: List[_ <: Comparable[_ >: T]], key: T): Int
- def checkedCollection[E](c: Collection[E], typ: Class[E]): Collection[E]
- def checkedList[E](list: List[E], typ: Class[E]): List[E]
- def checkedMap[K, V](m: Map[K, V], keyType: Class[K], valueType: Class[V]): Map[K, V]
- def checkedSet[E](s: Set[E], typ: Class[E]): Set[E]
- def checkedSortedMap[K, V](m: SortedMap[K, V], keyType: Class[K], valueType: Class[V]): SortedMap[K, V]
- def checkedSortedSet[E](s: SortedSet[E], typ: Class[E]): SortedSet[E]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def copy[T](dest: List[_ >: T], src: List[_ <: T]): Unit
- def disjoint(c1: Collection[_], c2: Collection[_]): Boolean
- def emptyEnumeration[T](): Enumeration[T]
- def emptyIterator[T](): Iterator[T]
- def emptyList[T](): List[T]
- def emptyListIterator[T](): ListIterator[T]
- def emptyMap[K, V](): Map[K, V]
- def emptySet[T](): Set[T]
- def enumeration[T](c: Collection[T]): Enumeration[T]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fill[T](list: List[_ >: T], obj: T): Unit
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def frequency(c: Collection[_], o: AnyRef): Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def indexOfSubList(source: List[_], target: List[_]): Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastIndexOfSubList(source: List[_], target: List[_]): Int
- def list[T](e: Enumeration[T]): ArrayList[T]
- def max[T](coll: Collection[_ <: T], comp: Comparator[_ >: T]): T
- def max[T <: _Comparable[T]](coll: Collection[_ <: T]): AnyRef
- def min[T](coll: Collection[_ <: T], comp: Comparator[_ >: T]): T
- def min[T <: _Comparable[T]](coll: Collection[_ <: T]): AnyRef
- def nCopies[T](n: Int, o: T): List[T]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSetFromMap[E](map: Map[E, Boolean]): Set[E]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def replaceAll[T](list: List[T], oldVal: T, newVal: T): Boolean
- def reverse(list: List[_]): Unit
- def reverseImpl[T](list: List[T]): Unit
- Annotations
- @inline()
- def reverseOrder[T](cmp: Comparator[T]): Comparator[T]
- def reverseOrder[T](): Comparator[T]
- def rotate(list: List[_], distance: Int): Unit
- def shuffle(list: List[_], rnd: Random): Unit
- Annotations
- @noinline()
- def shuffle(list: List[_]): Unit
- def singleton[T](o: T): Set[T]
- def singletonList[T](o: T): List[T]
- def singletonMap[K, V](key: K, value: V): Map[K, V]
- def sort[T](list: List[T], c: Comparator[_ >: T]): Unit
- def sort[T <: _Comparable[T]](list: List[T]): Unit
- def swap(list: List[_], i: Int, j: Int): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def synchronizedCollection[T](c: Collection[T]): Collection[T]
- def synchronizedList[T](list: List[T]): List[T]
- def synchronizedMap[K, V](m: Map[K, V]): Map[K, V]
- def synchronizedSet[T](s: Set[T]): Set[T]
- def synchronizedSortedMap[K, V](m: SortedMap[K, V]): SortedMap[K, V]
- def synchronizedSortedSet[T](s: SortedSet[T]): SortedSet[T]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unmodifiableCollection[T](c: Collection[_ <: T]): Collection[T]
- def unmodifiableList[T](list: List[_ <: T]): List[T]
- def unmodifiableMap[K, V](m: Map[_ <: K, _ <: V]): Map[K, V]
- def unmodifiableSet[T](a: Set[_ <: T]): Set[T]
- def unmodifiableSortedMap[K, V](m: SortedMap[K, _ <: V]): SortedMap[K, V]
- def unmodifiableSortedSet[T](s: SortedSet[T]): SortedSet[T]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()