c

tip.lattices

FlatLattice

class FlatLattice[X] extends Lattice

The flat lattice made of element of X. Top is greater than every other element, and Bottom is less than every other element. No additional ordering is defined.

Linear Supertypes
Lattice, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FlatLattice
  2. Lattice
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FlatLattice()

Type Members

  1. type Element = FlatElement

    The type of the elements of this lattice.

    The type of the elements of this lattice.

    To novice Scala programmers: This is an example of an abstract type member. In this trait, Element is just a name for a type. It is constrained in sub-traits and sub-classes, similarly to type parameters in generic classes. For more information about abstract type members in Scala, see https://docs.scala-lang.org/tour/abstract-types.html.

    Definition Classes
    FlatLatticeLattice
  2. case class FlatEl(el: X) extends FlatElement with Product with Serializable
  3. sealed trait FlatElement extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bottom: Element

    The bottom element of this lattice.

    The bottom element of this lattice.

    Definition Classes
    FlatLatticeLattice
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def leq(x: Element, y: Element): Boolean

    Returns true whenever x <= y.

    Returns true whenever x <= y.

    Definition Classes
    Lattice
  13. def lub(x: Element, y: Element): Element

    The least upper bound of x and y.

    The least upper bound of x and y.

    Definition Classes
    FlatLatticeLattice
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. val top: Element

    The top element of this lattice.

    The top element of this lattice. Default: not implemented.

    Definition Classes
    FlatLatticeLattice
  20. implicit def unwrap(a: Element): X

    Unwrap an element of the lattice to an element of X.

    Unwrap an element of the lattice to an element of X. If the element is Top or Bot then IllegalArgumentException is thrown. Note that this method is declared as implicit, so the conversion can be done automatically.

  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. implicit def wrap(a: X): Element

    Wrap an element of X into an element of the flat lattice.

  25. object Bot extends FlatElement with Product with Serializable
  26. object Top extends FlatElement with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Lattice

Inherited from AnyRef

Inherited from Any

Ungrouped