Class

scalan.Base

SingleRef

Related Doc: package Base

Permalink

final class SingleRef[+T] extends Scalan.Ref[T]

A Ref is a symbolic reference used internally to refer to graph nodes. Light weight stateless immutable reference to a graph node (Def[T]). Two symbols are equal if they refer to the nodes with the same id, which is due to Def unification means equal symbols refer to the same instance of Def.

Linear Supertypes
Scalan.Ref[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleRef
  2. Ref
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def adapter: T

    Permalink
  5. def adapter_=(a: T): Unit

    Permalink
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def elem: Scalan.Elem[T]

    Permalink

    Type of the computed value represented by the node refered by this rep.

    Type of the computed value represented by the node refered by this rep.

    Definition Classes
    SingleRefRef
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    SingleRef → AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getAdapter[S >: T](isInstanceOfT: Boolean, createAdapter: (Scalan.Ref[S]) ⇒ T): T

    Permalink

    Helper method that lazily creates and attaches Adapter to this node reference.

    Helper method that lazily creates and attaches Adapter to this node reference. The adapter is created conditionally and on demand. If T is trait or class (i.e. entity) then created adapter instance implements all its methods. The the adapter class is generated as part of EntityObject for the entity T.

    See also

    EntityObject

  13. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    SingleRef → AnyRef → Any
  15. final def isCompanionType: Boolean

    Permalink

    Is this reference of Companion type

    Is this reference of Companion type

    Definition Classes
    Ref
    Annotations
    @inline()
  16. final def isConst: Boolean

    Permalink

    Whether the underlying node is Const.

    Whether the underlying node is Const.

    Definition Classes
    Ref
    Annotations
    @inline()
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def isLambda: Boolean

    Permalink

    Whether the underlying node is Lambda.

    Whether the underlying node is Lambda.

    Definition Classes
    Ref
    Annotations
    @inline()
  19. final def isPlaceholder: Boolean

    Permalink

    Whether the underlying node is Placeholder.

    Whether the underlying node is Placeholder.

    Definition Classes
    Ref
    Annotations
    @inline()
  20. final def isVar: Boolean

    Permalink

    Whether the underlying node is Variable.

    Whether the underlying node is Variable.

    Definition Classes
    Ref
    Annotations
    @inline()
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def node: Scalan.Def[T]

    Permalink

    Node of the graph refered by this Ref.

    Node of the graph refered by this Ref.

    Definition Classes
    SingleRefRef
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def show(config: GraphVizConfig): Unit

    Permalink
    Definition Classes
    Ref
  26. def show(emitMetadata: Boolean): Unit

    Permalink
    Definition Classes
    Ref
  27. def show(): Unit

    Permalink

    Build graph of nodes starting from this node, generate dot file, and open it using system default viewer for dot extension.

    Build graph of nodes starting from this node, generate dot file, and open it using system default viewer for dot extension.

    Definition Classes
    Ref
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    SingleRef → AnyRef → Any
  30. def toStringWithDefinition: String

    Permalink

    Returns the string like x45: Int = Const(10)

    Returns the string like x45: Int = Const(10)

    Definition Classes
    SingleRefRef
  31. def varName: String

    Permalink

    Unique name that can be used as variable name.

    Unique name that can be used as variable name.

    Definition Classes
    SingleRefRef
  32. def varNameWithType: String

    Permalink
    Definition Classes
    Ref
  33. final def wait(): Unit

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

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

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

Inherited from Scalan.Ref[T]

Inherited from AnyRef

Inherited from Any

Ungrouped