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.
- Alphabetic
- By Inheritance
- FlatLattice
- Lattice
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new FlatLattice()
Type Members
-
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,
Elementis 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
- FlatLattice → Lattice
- case class FlatEl(el: X) extends FlatElement with Product with Serializable
- sealed trait FlatElement extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
bottom: Element
The bottom element of this lattice.
The bottom element of this lattice.
- Definition Classes
- FlatLattice → Lattice
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
leq(x: Element, y: Element): Boolean
Returns true whenever
x<=y.Returns true whenever
x<=y.- Definition Classes
- Lattice
-
def
lub(x: Element, y: Element): Element
The least upper bound of
xandy.The least upper bound of
xandy.- Definition Classes
- FlatLattice → Lattice
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
top: Element
The top element of this lattice.
The top element of this lattice. Default: not implemented.
- Definition Classes
- FlatLattice → Lattice
-
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. -
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
def
wrap(a: X): Element
Wrap an element of
Xinto an element of the flat lattice. - object Bot extends FlatElement with Product with Serializable
- object Top extends FlatElement with Product with Serializable
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated