Packages

c

scalax.collection.io.json.descriptor

LHyperEdgeDescriptor

abstract class LHyperEdgeDescriptor[N, E <: AbstractHyperEdge[N], L] extends EdgeDescriptorBase[N, E] with Label[E]

Determines how to extract data of labeled hyperedges from a JValue and how to decompose such an edge to a JValue.

Instances of this class must be passed as a constructor argument to a scalax.collection.io.json.descriptor.Descriptor either directly or indirectly by utilizing a predefined edge descriptor.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LHyperEdgeDescriptor
  2. Label
  3. EdgeDescriptorBase
  4. GenEdgeDescriptor
  5. TypeId
  6. AnyRef
  7. Any
Implicitly
  1. by StringFormat
  2. by Ensuring
  3. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LHyperEdgeDescriptor(hyperEdgeFactory: (Several[N], L) => E, aLabel: L, customSerializer: Option[Serializer[_ <: LHyperEdgeParameters[L]]] = None, extraClasses: List[Class[_]] = Nil, typeId: String = Defaults.defaultId)(implicit classTag: ClassTag[E], labelManifest: Manifest[L])

    hyperEdgeFactory

    factory method to create any user-defined typed edge.

    customSerializer

    Some list-json custom serializer or None.

    extraClasses

    list of classes referenced by this node provided they are to be (de)serialized; empty by default.

    typeId

    denotes the edge type in a JSON text.

Abstract Value Members

  1. abstract def label(edge: E): Any

    Extracts the label part of the typed edge into any convenient type.

    Extracts the label part of the typed edge into any convenient type.

    Attributes
    protected
    Definition Classes
    Label

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ->[B](y: B): (LHyperEdgeDescriptor[N, E, L], B)
    Implicit
    This member is added by an implicit conversion from LHyperEdgeDescriptor[N, E, L] toArrowAssoc[LHyperEdgeDescriptor[N, E, L]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val aLabel: L
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val classTag: ClassTag[_]
    Definition Classes
    GenEdgeDescriptor
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. val customSerializer: Option[Serializer[_ <: Parameters]]
    Definition Classes
    EdgeDescriptorBase
  10. final def decompose(edge: E)(implicit descriptor: Descriptor[N]): JValue
    Definition Classes
    EdgeDescriptorBase
  11. def ensuring(cond: (LHyperEdgeDescriptor[N, E, L]) => Boolean, msg: => Any): LHyperEdgeDescriptor[N, E, L]
    Implicit
    This member is added by an implicit conversion from LHyperEdgeDescriptor[N, E, L] toEnsuring[LHyperEdgeDescriptor[N, E, L]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (LHyperEdgeDescriptor[N, E, L]) => Boolean): LHyperEdgeDescriptor[N, E, L]
    Implicit
    This member is added by an implicit conversion from LHyperEdgeDescriptor[N, E, L] toEnsuring[LHyperEdgeDescriptor[N, E, L]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): LHyperEdgeDescriptor[N, E, L]
    Implicit
    This member is added by an implicit conversion from LHyperEdgeDescriptor[N, E, L] toEnsuring[LHyperEdgeDescriptor[N, E, L]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): LHyperEdgeDescriptor[N, E, L]
    Implicit
    This member is added by an implicit conversion from LHyperEdgeDescriptor[N, E, L] toEnsuring[LHyperEdgeDescriptor[N, E, L]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. val extraClasses: List[Class[_]]
    Definition Classes
    EdgeDescriptorBase
  18. def extract(jsonEdge: JValue): LHyperEdgeParameters[L]
  19. implicit val formats: Formats
    Attributes
    protected
    Definition Classes
    EdgeDescriptorBase
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. val hyperEdgeFactory: (Several[N], L) => E
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. implicit val labelManifest: Manifest[L]
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def nodeIds(ends: OneOrMore[N], descriptor: Descriptor[N]): OneOrMoreNodeIds
    Attributes
    protected
    Definition Classes
    EdgeDescriptorBase
  27. def nodeIds(edge: E, descriptor: Descriptor[N]): SeveralNodeIds
    Attributes
    protected
    Definition Classes
    EdgeDescriptorBase
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toParameters(edge: E)(implicit descriptor: Descriptor[N]): LHyperEdgeParameters[Any]
    Attributes
    protected
    Definition Classes
    LHyperEdgeDescriptorEdgeDescriptorBase
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. val typeId: String
    Definition Classes
    GenEdgeDescriptorTypeId
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LHyperEdgeDescriptor[N, E, L] toStringFormat[LHyperEdgeDescriptor[N, E, L]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (LHyperEdgeDescriptor[N, E, L], B)
    Implicit
    This member is added by an implicit conversion from LHyperEdgeDescriptor[N, E, L] toArrowAssoc[LHyperEdgeDescriptor[N, E, L]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Label[E]

Inherited from EdgeDescriptorBase[N, E]

Inherited from GenEdgeDescriptor[N]

Inherited from TypeId

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringFormat fromLHyperEdgeDescriptor[N, E, L] to StringFormat[LHyperEdgeDescriptor[N, E, L]]

Inherited by implicit conversion Ensuring fromLHyperEdgeDescriptor[N, E, L] to Ensuring[LHyperEdgeDescriptor[N, E, L]]

Inherited by implicit conversion ArrowAssoc fromLHyperEdgeDescriptor[N, E, L] to ArrowAssoc[LHyperEdgeDescriptor[N, E, L]]

Ungrouped