final class GraphSerializer[N, E[+X] <: EdgeLikeIn[X]] extends Serializer[Graph[N, E]]
This custom serializer is to be registered whenever a class to be (de)serialized
contains on or more Graph
instances.
For usage see scalax.collection.io.json.serializer.TGraphSerializer
.
- Alphabetic
- By Inheritance
- GraphSerializer
- Serializer
- AnyRef
- Any
- by CollectionsHaveToParArray
- by EdgeAssoc
- by anyToNode
- by ChainingOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new GraphSerializer(descriptor: Descriptor[N])(implicit edgeManifest: Manifest[E[N]])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to any2stringadd[GraphSerializer[N, E]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (GraphSerializer[N, E], B)
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to ArrowAssoc[GraphSerializer[N, E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
deserialize(implicit format: Formats): PartialFunction[(TypeInfo, JValue), Graph[N, E]]
- Definition Classes
- GraphSerializer → Serializer
-
def
ensuring(cond: (GraphSerializer[N, E]) ⇒ Boolean, msg: ⇒ Any): GraphSerializer[N, E]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to Ensuring[GraphSerializer[N, E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (GraphSerializer[N, E]) ⇒ Boolean): GraphSerializer[N, E]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to Ensuring[GraphSerializer[N, E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): GraphSerializer[N, E]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to Ensuring[GraphSerializer[N, E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): GraphSerializer[N, E]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to Ensuring[GraphSerializer[N, E]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to StringFormat[GraphSerializer[N, E]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isDefined: Boolean
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to OuterNode[GraphSerializer[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
-
final
def
isEdge: Boolean
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to OuterNode[GraphSerializer[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
-
def
isIn: Boolean
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to OuterNode[GraphSerializer[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- InParam → Param
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNode: Boolean
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to OuterNode[GraphSerializer[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
-
final
def
isOut: Boolean
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to OuterNode[GraphSerializer[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- Param
-
val
n1: GraphSerializer[N, E]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to EdgeAssoc[GraphSerializer[N, E]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pipe[B](f: (GraphSerializer[N, E]) ⇒ B): B
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to ChainingOps[GraphSerializer[N, E]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
-
val
self: GraphSerializer[N, E]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to ChainingOps[GraphSerializer[N, E]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
-
def
serialize(implicit format: Formats): PartialFunction[Any, JValue]
- Definition Classes
- GraphSerializer → Serializer
-
def
stringPrefix: String
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to OuterNode[GraphSerializer[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- NodeParam
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tap[U](f: (GraphSerializer[N, E]) ⇒ U): GraphSerializer[N, E]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to ChainingOps[GraphSerializer[N, E]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
-
def
toParArray: ParArray[T]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to CollectionsHaveToParArray[GraphSerializer[N, E], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (GraphSerializer[N, E]) ⇒ GenTraversableOnce[T] is in scope.
- Definition Classes
- CollectionsHaveToParArray
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
value: GraphSerializer[N, E]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to OuterNode[GraphSerializer[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
- Definition Classes
- OuterNode → NodeParam
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
-
def
~[N >: N1](n2: N): UnDiEdge[N]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to EdgeAssoc[GraphSerializer[N, E]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
-
def
~>[N >: N1](n2: N): DiEdge[N]
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to EdgeAssoc[GraphSerializer[N, E]] performed by method EdgeAssoc in scalax.collection.GraphPredef.
- Definition Classes
- EdgeAssoc
- Annotations
- @inline()
-
def
→[B](y: B): (GraphSerializer[N, E], B)
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to ArrowAssoc[GraphSerializer[N, E]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
def
toString(): String
- Implicit
- This member is added by an implicit conversion from GraphSerializer[N, E] to OuterNode[GraphSerializer[N, E]] performed by method anyToNode in scalax.collection.GraphPredef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(graphSerializer: OuterNode[GraphSerializer[N, E]]).toString()
- Definition Classes
- NodeParam → AnyRef → Any