java.util.Collection.scala Maven / Gradle / Ivy
package java.util
trait Collection[E] extends java.lang.Iterable[E] {
def size(): Int
def isEmpty(): Boolean
def contains(o: Any): Boolean
def iterator(): Iterator[E]
def toArray(): Array[AnyRef]
def toArray[T <: AnyRef](a: Array[T]): Array[T]
def add(e: E): Boolean
def remove(o: Any): Boolean
def containsAll(c: Collection[_]): Boolean
def addAll(c: Collection[_ <: E]): Boolean
def removeAll(c: Collection[_]): Boolean
def retainAll(c: Collection[_]): Boolean
def clear(): Unit
def equals(o: Any): Boolean
def hashCode(): Int
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy