|
Scala Library
|
|
scala/Enumeration.scala]
class
Set64(val underlying : Long)
extends SetXXLong.| Additional Constructor Summary | |
def
|
this : Set64 |
| Type Summary | |
type
|
TSet |
type
|
Underlying
either Int or Long
|
| Method Summary | |
def
|
&
(set : Set64) : Set64
Equivalent to
* for bit sets.
Returns a bit set that has all values that are both in this and set. |
def
|
&~
(value : Value) : Set64
Equivalent to
- for bit sets.
Returns a bit set that has all values in this except for value. |
def
|
contains
(value : Value) : Boolean
Checks if this set contains element
elem. |
def
|
underlyingAsLong
: Long
returns the underlying integer representation of this set as a long.
|
def
|
|
(value : Value) : Set64
Equivalent to
+ for bit sets. Returns a set
that has all values in this with the addition of value. |
def
|
|
(set : Set64) : Set64
Equivalent to
++ for bit sets. Returns a set
that has all values in this and set. |
| Methods inherited from SetXX | |
| -, +, ++, **, size, stringPrefix, elements, empty |
| Methods inherited from Set | |
| +, ++, ++, incl, incl, -, --, --, excl, excl, intersect, **, map, flatMap, filter |
| Methods inherited from Set | |
| apply, isEmpty, subsetOf, *, equals, hashCode, toArray |
| Methods inherited from Collection | |
| toString |
| Methods inherited from Iterable | |
| concat, ++, 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, projection, hasDefiniteSize |
| Methods inherited from Function1 | |
| compose, andThen |
| Methods inherited from AnyRef | |
| getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Additional Constructor Details |
| Type Details |
| Method Details |
def
underlyingAsLong : Long
elem.elem - the element to check for membership.true iff elem is contained in this set.++ for bit sets. Returns a set
that has all values in this and set.+ for bit sets. Returns a set
that has all values in this with the addition of value.- for bit sets.
Returns a bit set that has all values in this except for value.* for bit sets.
Returns a bit set that has all values that are both in this and set.|
Scala Library
|
|