t

Any.Able.Void

trait Void extends Any

General Void Able

Class implementing this interface manifests, that some instance (or instances) will be considered void

class Foo extends Any.Able.Void {

    override def isVoid = true
}

Any.isVoid(new Foo()).lp   // Prints true

Note. By default isVoid returns false and it has to be overridden for void values

Ordering
  1. Alphabetic
Inherited
  1. Void
  2. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Method

  1. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  2. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  3. def hashCode(): Int
    Definition Classes
    Any
  4. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  5. def isVoid: Boolean

    Void check

    Void check

    Returns true if this instance is void

    Definition Classes
    Void
  6. def toString(): String
    Definition Classes
    Any

Operator

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