Trait/Object

metal.mutable

BitSet

Related Docs: object BitSet | package mutable

Permalink

trait BitSet[K] extends generic.BitSet[K] with SortedSet[K]

Source
BitSet.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitSet
  2. SortedSet
  3. Set
  4. AddKeys
  5. Removable
  6. Collection
  7. BitSet
  8. SortedSet
  9. Set
  10. Searchable
  11. Keys
  12. NElements1
  13. Elements1
  14. Defaults
  15. Collection
  16. Enumerable
  17. Nextable
  18. Pointable
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Generic = generic.Set[K]

    Permalink

    Generic type of this collection (e.g.

    Generic type of this collection (e.g. Map, Map2, Set).

    Definition Classes
    SetDefaultsCollection
  2. type Immutable = immutable.BitSet[K]

    Permalink

    Immutable variant of this collection.

    Immutable variant of this collection.

    Definition Classes
    BitSetSortedSetSetDefaultsCollection
  3. type Mutable = BitSet[K]

    Permalink

    Mutable variant of this collection.

    Mutable variant of this collection.

    Definition Classes
    BitSetSortedSetSetDefaultsCollection

Abstract Value Members

  1. implicit abstract def K: Methods[K]

    Permalink
    Definition Classes
    Set
  2. abstract def clear(): Unit

    Permalink
    Definition Classes
    Removable
  3. implicit abstract def ev: =:=[K, Int]

    Permalink
    Definition Classes
    BitSet
  4. abstract def isEmpty: Boolean

    Permalink

    Returns true if the container is empty, false otherwise.

    Returns true if the container is empty, false otherwise.

    Definition Classes
    Enumerable
  5. abstract def longSize: Long

    Permalink

    Return the size of this container; we use Long so that big containers can be manipulated.

    Return the size of this container; we use Long so that big containers can be manipulated.

    Definition Classes
    Enumerable
  6. abstract def mutableCopy: Mutable

    Permalink

    Creates a mutable copy of this collection.

    Creates a mutable copy of this collection.

    Definition Classes
    Collection
  7. abstract def nWords: Int

    Permalink
    Definition Classes
    BitSet
  8. abstract def nonEmpty: Boolean

    Permalink

    Returns true if the container is non-empty, false otherwise.

    Returns true if the container is non-empty, false otherwise.

    Definition Classes
    Enumerable
  9. implicit abstract def order: Order[K]

    Permalink
    Definition Classes
    SortedSet
  10. abstract def ptr: Ptr[BitSet.this.type]

    Permalink

    Returns a pointer to the start of this container instance.

    Returns a pointer to the start of this container instance.

    Definition Classes
    Enumerable
  11. abstract def ptrAddKey[L](key: L): VPtr[BitSet.this.type]

    Permalink

    Adds the given key to the container.

    Adds the given key to the container. If the key is already present, returns the pointer associated with the existing key. If the key is new, any eventual associated values are undefined (they should immediately be updated).

    Definition Classes
    AddKeys
  12. abstract def ptrElement1[F](ptr: VPtr[BitSet.this.type]): F

    Permalink
    Definition Classes
    Elements1
  13. abstract def ptrFind[L](key: L): Ptr[BitSet.this.type]

    Permalink

    Returns a pointer to the given item, if it exists, or null.

    Returns a pointer to the given item, if it exists, or null.

    Definition Classes
    Searchable
  14. abstract def ptrKey[L](ptr: VPtr[BitSet.this.type]): L

    Permalink

    Returns the key pointed by ptr.

    Returns the key pointed by ptr.

    Definition Classes
    Keys
  15. abstract def ptrNext(ptr: VPtr[BitSet.this.type]): Ptr[BitSet.this.type]

    Permalink

    Returns a pointer to the next element if available, or returns a null pointer.

    Returns a pointer to the next element if available, or returns a null pointer.

    Definition Classes
    Nextable
  16. abstract def ptrRemove(ptr: VPtr[BitSet.this.type]): Unit

    Permalink

    Removes the pointed element.

    Removes the pointed element.

    Definition Classes
    Removable
  17. abstract def ptrRemoveAndAdvance(ptr: VPtr[BitSet.this.type]): Ptr[BitSet.this.type]

    Permalink

    Removes the pointed element, and returns the pointer to the next element, or null if at the end.

    Removes the pointed element, and returns the pointer to the next element, or null if at the end.

    Definition Classes
    Removable
  18. abstract def reset(): Unit

    Permalink

    Removes all elements from this collection, keeping the all allocated arrays.

    Removes all elements from this collection, keeping the all allocated arrays.

    Definition Classes
    Collection
  19. abstract def result(): Immutable

    Permalink

    Returns an immutable version of this mutable collection.

    Returns an immutable version of this mutable collection. The mutable instance is cleared.

    Definition Classes
    Collection
  20. abstract def toImmutable: Immutable

    Permalink

    Returns this collection if already immutable, or an immutable copy.

    Returns this collection if already immutable, or an immutable copy.

    Definition Classes
    Collection
  21. abstract def word(i: Int): Long

    Permalink
    Definition Classes
    BitSet

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(any: Any): Boolean

    Permalink

    Checks if two collections are equal.

    Checks if two collections are equal.

    Equal means the collections have the same generic type (which is checked by the method ptrCastT) and the same contents.

    Comparing metal collections with any other collection types (including those from Scala) will return false.

    Definition Classes
    Defaults → AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink

    Hashes the contents of the collection to an Int value.

    Hashes the contents of the collection to an Int value.

    By xor'ing all the collection's element hashes together, we can be sure that collections with the same contents will have the same hashCode regardless of the order those items appear.

    Definition Classes
    Defaults → AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. def priorityEquals: Boolean

    Permalink

    Flag indicating that the equals methods of this object should be called in priority.

    Flag indicating that the equals methods of this object should be called in priority.

    Definition Classes
    Defaults
  16. def ptrAddKeyFromArray(array: Array[_], i: Int): VPtr[BitSet.this.type]

    Permalink

    Adds the given key to the container, similarly to ptrAddKey, but takes the key from the given array, which should be of type Array[K].

    Adds the given key to the container, similarly to ptrAddKey, but takes the key from the given array, which should be of type Array[K]. The array type is however recovered at runtime to avoid boxing.

    Definition Classes
    AddKeys
  17. final def ptrCastT(any: Any): Opt[generic.Set[K]]

    Permalink

    Tests if the parameter has the same generic type, and returns an optional cast.

    Tests if the parameter has the same generic type, and returns an optional cast.

    Definition Classes
    SetDefaults
  18. def ptrEquals(thisPtr: VPtr[BitSet.this.type], that: generic.Set[K]): Boolean

    Permalink

    Checks that the pointed element exists in the other collection and has the same value.

    Checks that the pointed element exists in the other collection and has the same value.

    Definition Classes
    SetDefaults
  19. def ptrFindFromArray(array: Array[_], i: Int): Ptr[BitSet.this.type]

    Permalink
    Definition Classes
    Searchable
  20. def ptrHash(ptr: VPtr[BitSet.this.type]): Int

    Permalink

    Returns the hashCode of the pointed element.

    Returns the hashCode of the pointed element.

    Definition Classes
    SetDefaults
  21. def ptrToString(ptr: VPtr[BitSet.this.type]): String

    Permalink

    Returns the toString representation of the pointed element.

    Returns the toString representation of the pointed element.

    Definition Classes
    SetDefaults
  22. def stringPrefix: String

    Permalink

    String prefix used in the toString method.

    String prefix used in the toString method.

    Definition Classes
    SetCollection
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    Defaults → AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SortedSet[K]

Inherited from Set[K]

Inherited from AddKeys[K]

Inherited from Removable

Inherited from Collection

Inherited from generic.BitSet[K]

Inherited from generic.SortedSet[K]

Inherited from generic.Set[K]

Inherited from Searchable[K]

Inherited from Keys[K]

Inherited from NElements1[K]

Inherited from Elements1[K]

Inherited from Defaults

Inherited from generic.Collection

Inherited from Enumerable

Inherited from Nextable

Inherited from Pointable

Inherited from AnyRef

Inherited from Any

Ungrouped