Scala Library
|
|
scala/collection/jcl/SetWrapper.scala
]
trait
SetWrapper[A]
extends
Set[A] with
CollectionWrapper[A]Method Summary | |
override def
|
clear
: Unit
clear all elements from the collection.
|
override def
|
isEmpty
: Boolean
Checks if this set is empty.
|
override def
|
size
: Int
Returns the number of elements in this set.
|
abstract def
|
underlying
: java.util.Set[A]
Override to specify the collection being accessed through this wrapper.
* Collection operations are then routed through the wrapped Java collection.
|
Methods inherited from CollectionWrapper | |
has, elements, hasAll, add, addAll, toString, hashCode, equals |
Methods inherited from IterableWrapper | |
remove, removeAll, retainAll |
Methods inherited from Set | |
contains, ++, --, +, -, retain, subsetOf, transform, projection |
Methods inherited from Collection | |
-=, += |
Methods inherited from MutableIterable | |
retainOnly, size0 |
Methods inherited from Set | |
update, +=, ++=, ++=, +, ++, incl, -=, --=, --=, -, --, excl, intersect, <<, clone, readOnly |
Methods inherited from Set | |
apply, *, **, toArray, stringPrefix |
Methods inherited from Iterable | |
concat, ++, map, flatMap, filter, partition, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toSeq, toStream, mkString, mkString, mkString, addString, addString, addString, copyToArray, hasDefiniteSize |
Methods inherited from Function1 | |
compose, andThen |
Methods inherited from AnyRef | |
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
abstract
def
underlying : java.util.Set[A]
override
def
isEmpty : Boolean
true
iff there is no element in the set.override
def
clear : Unit
override
def
size : Int
Scala Library
|
|