Sub class to create a wrapper type for X
as documentation that the sub class follows the
'pimp my library' pattern.
Sub class to create a wrapper type for X
as documentation that the sub class follows the
'pimp my library' pattern. http://www.artima.com/weblogs/viewpost.jsp?thread=179766
The companion object provides an implicit conversion to unwrap value
.
Defines Scalar "pimp" for IgniteCache
on Java side.
Defines Scalar "pimp" for IgniteCache
on Java side.
Essentially this class extends Java IgniteCache
interface with Scala specific
API adapters using primarily implicit conversions defined in ScalarConversions
object. What
it means is that you can use functions defined in this class on object
of Java IgniteCache
type. Scala will automatically (implicitly) convert it into
Scalar's pimp and replace the original call with a call on that pimp.
Note that Scalar provide extensive library of implicit conversion between Java and
Scala Ignite counterparts in ScalarConversions
object
Symbol $
is used in names when they conflict with the names in the base Java class
that Scala pimp is shadowing or with Java package name that your Scala code is importing.
Instead of giving two different names to the same function we've decided to simply mark
Scala's side method with $
suffix.
Defines Scalar "pimp" for Grid
on Java side.
Defines Scalar "pimp" for Grid
on Java side.
Essentially this class extends Java GridProjection
interface with Scala specific
API adapters using primarily implicit conversions defined in ScalarConversions
object. What
it means is that you can use functions defined in this class on object
of Java GridProjection
type. Scala will automatically (implicitly) convert it into
Scalar's pimp and replace the original call with a call on that pimp.
Note that Scalar provide extensive library of implicit conversion between Java and
Scala Ignite counterparts in ScalarConversions
object
Symbol $
is used in names when they conflict with the names in the base Java class
that Scala pimp is shadowing or with Java package name that your Scala code is importing.
Instead of giving two different names to the same function we've decided to simply mark
Scala's side method with $
suffix.
Defines Scalar "pimp" for GridProjection
on Java side.
Defines Scalar "pimp" for GridProjection
on Java side.
Essentially this class extends Java GridProjection
interface with Scala specific
API adapters using primarily implicit conversions defined in ScalarConversions
object. What
it means is that you can use functions defined in this class on object
of Java GridProjection
type. Scala will automatically (implicitly) convert it into
Scalar's pimp and replace the original call with a call on that pimp.
Note that Scalar provide extensive library of implicit conversion between Java and
Scala Ignite counterparts in ScalarConversions
object
Symbol $
is used in names when they conflict with the names in the base Java class
that Scala pimp is shadowing or with Java package name that your Scala code is importing.
Instead of giving two different names to the same function we've decided to simply mark
Scala's side method with $
suffix.
This trait provide mixin for properly typed version of GridProjection#with...()
methods.
This trait provide mixin for properly typed version of GridProjection#with...()
methods.
Method on GridProjection
always returns an instance of type GridProjection
even when
called on a sub-class. This trait's methods return the instance of the same type
it was called on.
Companion object.
Companion object.
Companion object.
Contains Scala "Pimp" implementations for main Ignite entities.