Packages

final class Features extends AnyVal with Serializable

Features describes a set of features described via bitwise operators applied to ints, but made type safe.

This is like a special purpose BitSet.

Currently used to describe the features of Scheduler.

Source
Features.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Features
  2. Serializable
  3. AnyVal
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Features(flags: Flags)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def +(feature: Flag): Features

    Adds a feature to the set.

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def contains(feature: Flag): Boolean

    Tests if a given feature is in the set.

  7. def diff(other: Features): Features

    Computes the difference between the source and another feature set, such that the new value contains the features of the source that are not in the other set.

  8. val flags: Flags
  9. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  10. def intersect(other: Features): Features

    Longersects the source with another feature set, such that the new value will contain the flags that are contained by both.

  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def toString(): String
    Definition Classes
    Features → Any
  13. def union(other: Features): Features

    Computes the union between the source and another feature set, such that the new value contains the features of both.

Inherited from Serializable

Inherited from AnyVal

Inherited from Any

Ungrouped