breeze.serialization.SerializationFormat

CompoundTypes

trait CompoundTypes extends AnyRef

Supports reading and writing tuples, collections, maps, arrays, etc., if their underlying key and value types are readable and writable.

Self Type
CompoundTypes with SerializationFormat with PrimitiveTypes
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CompoundTypes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class Constructible[V, RW] extends (CompoundTypes.this)#ReadWritable[V]

    Constructable provides a simple way to add serialization support to a more basic type.

Abstract Value Members

  1. abstract def readBuildable[T, To](src: (CompoundTypes.this)#Input, builder: Builder[T, To])(implicit arg0: (CompoundTypes.this)#Readable[T]): To

    Reads elements of type T into the given buildable.

    Reads elements of type T into the given buildable. Inverse of writeIterable.

    Attributes
    protected
  2. abstract def readName(in: (CompoundTypes.this)#Input): String

    Attributes
    protected
  3. abstract def writeIterable[T, CC <: Iterable[T]](sink: (CompoundTypes.this)#Output, coll: CC, name: String)(implicit arg0: (CompoundTypes.this)#Writable[T]): Unit

    Writes elements of the given collection.

    Writes elements of the given collection. Inverse of readBuildable.

    Attributes
    protected
  4. abstract def writeName(out: (CompoundTypes.this)#Output, name: String): Unit

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. implicit def arrayReadWritable[T](implicit tH: (CompoundTypes.this)#ReadWritable[T], man: ClassTag[T]): (CompoundTypes.this)#ReadWritable[Array[T]]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def collectionFromElements[K, V, CC[K, V] <: Map[K, V] with MapLike[K, V, CC[K, V]]](c: MapFactory[CC], name: String)(implicit arg0: (CompoundTypes.this)#ReadWritable[K], arg1: (CompoundTypes.this)#ReadWritable[V]): (CompoundTypes.this)#ReadWritable[CC[K, V]]

    Map collection types.

    Map collection types.

    Attributes
    protected
  10. def collectionFromElements[T, CC[T] <: Iterable[T]](c: GenericCompanion[CC], name: String)(implicit arg0: (CompoundTypes.this)#ReadWritable[T]): (CompoundTypes.this)#ReadWritable[CC[T]]

    Standard collection types.

    Standard collection types.

    Attributes
    protected
  11. implicit def counter2ReadWritable[T, U, V](implicit arg0: (CompoundTypes.this)#ReadWritable[T], arg1: (CompoundTypes.this)#ReadWritable[U], arg2: (CompoundTypes.this)#ReadWritable[V], arg3: DefaultArrayValue[V], arg4: Field[V]): (CompoundTypes.this)#ReadWritable[Counter2[T, U, V]]

  12. implicit def counterReadWritable[T, V](implicit arg0: (CompoundTypes.this)#ReadWritable[T], arg1: (CompoundTypes.this)#ReadWritable[V], arg2: DefaultArrayValue[V], arg3: Field[V]): (CompoundTypes.this)#ReadWritable[Counter[T, V]]

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  18. implicit def indexReadWritable[T](implicit arg0: (CompoundTypes.this)#ReadWritable[T]): (CompoundTypes.this)#ReadWritable[Index[T]]

  19. implicit def indexedSeqReadWritable[T](implicit tH: (CompoundTypes.this)#ReadWritable[T]): (CompoundTypes.this)#ReadWritable[IndexedSeq[T]]

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. implicit def iterableReadWritable[T](implicit tH: (CompoundTypes.this)#ReadWritable[T]): (CompoundTypes.this)#ReadWritable[Iterable[T]]

  22. implicit def iteratorReadWritable[T](implicit tH: (CompoundTypes.this)#ReadWritable[T]): (CompoundTypes.this)#ReadWritable[Iterator[T]]

  23. implicit def listReadWritable[T](implicit tH: (CompoundTypes.this)#ReadWritable[T]): (CompoundTypes.this)#ReadWritable[List[T]]

  24. implicit def mapReadWritable[K, V](implicit arg0: (CompoundTypes.this)#ReadWritable[K], arg1: (CompoundTypes.this)#ReadWritable[V]): (CompoundTypes.this)#ReadWritable[Map[K, V]]

  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. implicit def optionReadWritable[T](implicit arg0: (CompoundTypes.this)#ReadWritable[T]): (CompoundTypes.this)#ReadWritable[Option[T]]

  29. def readTupleEnd(in: (CompoundTypes.this)#Input): Unit

    Attributes
    protected
  30. def readTupleGlue(in: (CompoundTypes.this)#Input): Unit

    Attributes
    protected
  31. def readTupleStart(in: (CompoundTypes.this)#Input): Unit

    Attributes
    protected
  32. implicit def seqReadWritable[T](implicit tH: (CompoundTypes.this)#ReadWritable[T]): (CompoundTypes.this)#ReadWritable[Seq[T]]

  33. implicit def setReadWritable[T](implicit tH: (CompoundTypes.this)#ReadWritable[T]): (CompoundTypes.this)#ReadWritable[Set[T]]

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. implicit def tuple2ReadWritable[T1, T2](implicit t1H: (CompoundTypes.this)#ReadWritable[T1], t2H: (CompoundTypes.this)#ReadWritable[T2]): (CompoundTypes.this)#ReadWritable[(T1, T2)]

  37. implicit def tuple3ReadWritable[T1, T2, T3](implicit t1H: (CompoundTypes.this)#ReadWritable[T1], t2H: (CompoundTypes.this)#ReadWritable[T2], t3H: (CompoundTypes.this)#ReadWritable[T3]): (CompoundTypes.this)#ReadWritable[(T1, T2, T3)]

  38. implicit def tuple4ReadWritable[T1, T2, T3, T4](implicit t1H: (CompoundTypes.this)#ReadWritable[T1], t2H: (CompoundTypes.this)#ReadWritable[T2], t3H: (CompoundTypes.this)#ReadWritable[T3], t4H: (CompoundTypes.this)#ReadWritable[T4]): (CompoundTypes.this)#ReadWritable[(T1, T2, T3, T4)]

  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  42. def writeNameOpt(out: (CompoundTypes.this)#Output, name: String): Unit

    writeNameOpt is like writeName, but Serialization formats aren't required to use it.

    writeNameOpt is like writeName, but Serialization formats aren't required to use it. Defaults to just calling writeName

    Attributes
    protected
  43. def writeTupleEnd(out: (CompoundTypes.this)#Output): Unit

    Attributes
    protected
  44. def writeTupleGlue(out: (CompoundTypes.this)#Output): Unit

    Attributes
    protected
  45. def writeTupleStart(out: (CompoundTypes.this)#Output): Unit

    Attributes
    protected
  46. def writesNames: Boolean

    If you override writeNameOpt to do nothing, override this

    If you override writeNameOpt to do nothing, override this

    Attributes
    protected

Inherited from AnyRef

Inherited from Any

Ungrouped