com.phasmid.majabigwaduce.core.Master
Value parameters
- config
-
an instance of Config which defines a suitable configuration
- f
-
the mapper function which takes a (K1,V1) pair and creates a key-value tuple of type (K2,W), wrapped in Try
- g
-
the reducer function which combines two values (a V2 and a W) into one V2
Attributes
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
method isForgiving which looks up the value of the forgiving property of the configuration.
method isForgiving which looks up the value of the forgiving property of the configuration.
Value parameters
- config
-
an instance of Config which defines a suitable configuration
Attributes
- Returns
-
true/false according to the property's value in config
Method unitize which takes a function A=>B and returns a (Unit,A)=>B
Method unitize which takes a function A=>B and returns a (Unit,A)=>B
Type parameters
- A
-
input type: the input type of the function f.
- B
-
output type: the output type of the function f.
Value parameters
- f
-
the function to be lifted
Attributes
- Returns
-
a function of (Unit,A)=>B
Returns the zero value of the specified type V. The generic zero value is obtained by casting the integer 0 to the provided type V. TESTME
Returns the zero value of the specified type V. The generic zero value is obtained by casting the integer 0 to the provided type V. TESTME
Type parameters
- V
-
the type for which the zero value is desired
Attributes
- Returns
-
the zero value of type V