Multiple

ostrat.Multiple
See theMultiple companion object
case class Multiple[+A](value: A, num: Int)

The Multiple type class allow you to represent multiple values of type A. Implicit conversion in package object.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def *(operand: Int): Multiple[A]

multiply the Multiple number with the operand.

multiply the Multiple number with the operand.

Attributes

def flatMap[B](f: A => Multiple[B]): Multiple[B]
def foreach(f: A => Unit): Unit
def map[B](f: A => B): Multiple[B]
def toArr[ArrA <: Arr[A]](implicit build: BuilderArrMap[A, ArrA]): ArrA
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product