# Op

### Related Doc: package engine

#### object Op

Annotations
@deprecated
Deprecated

(Since version Geotrellis Version 0.10) geotrellis-engine has been deprecated

Linear Supertypes
AnyRef, Any
Ordering
1. Alphabetic
2. By Inheritance
Inherited
1. Op
2. AnyRef
3. Any
1. Hide All
2. Show All
Visibility
1. Public
2. All

### Value Members

1. #### final def !=(arg0: Any): Boolean

Definition Classes
AnyRef → Any
2. #### final def ##(): Int

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

Definition Classes
AnyRef → Any
4. #### def apply[A, B, C, D, T](f: (A, B, C, D) ⇒ T)(implicit n: DI, o: DI): (Op[A], Op[B], Op[C], Op[D]) ⇒ Op4[A, B, C, D, T]

Create an operation from a 4-arg function that returns a literal value.

5. #### def apply[A, B, C, D, T](f: (A, B, C, D) ⇒ Op[T])(implicit n: DI): (Op[A], Op[B], Op[C], Op[D]) ⇒ Op4[A, B, C, D, T]

Create an operation from a 4-arg function that returns an operation.

6. #### def apply[A, B, C, D, T](f: (A, B, C, D) ⇒ StepOutput[T]): (Op[A], Op[B], Op[C], Op[D]) ⇒ Op4[A, B, C, D, T]

Create an operation from a 4-arg function that returns StepOutput.

7. #### def apply[A, B, C, T](f: (A, B, C) ⇒ T)(implicit n: DI, o: DI): (Op[A], Op[B], Op[C]) ⇒ Op3[A, B, C, T]

Create an operation from a 3-arg function that returns a literal value.

8. #### def apply[A, B, C, T](f: (A, B, C) ⇒ Op[T])(implicit n: DI): (Op[A], Op[B], Op[C]) ⇒ Op3[A, B, C, T]

Create an operation from a 3-arg function that returns an operation.

9. #### def apply[A, B, C, T](f: (A, B, C) ⇒ StepOutput[T]): (Op[A], Op[B], Op[C]) ⇒ Op3[A, B, C, T]

Create an operation from a 3-arg function that returns StepOutput.

10. #### def apply[A, B, T](f: (A, B) ⇒ T)(implicit n: DI, o: DI): (Op[A], Op[B]) ⇒ Op2[A, B, T]

Create an operation from a 2-arg function that returns a literal value.

11. #### def apply[A, B, T](f: (A, B) ⇒ Op[T])(implicit n: DI): (Op[A], Op[B]) ⇒ Op2[A, B, T]

Create an operation from a 2-arg function that returns an operation.

12. #### def apply[A, B, T](f: (A, B) ⇒ StepOutput[T]): (Op[A], Op[B]) ⇒ Op2[A, B, T]

Create an operation from a 2-arg function that returns StepOutput.

13. #### def apply[A, T](f: (A) ⇒ T)(implicit n: DI, o: DI): (Op[A]) ⇒ Op1[A, T]

Create an operation from a 1-arg function that returns a literal value.

Create an operation from a 1-arg function that returns a literal value.

For example:

val plusOne = op { (i: Int) => i + 1 }

14. #### def apply[A, T](f: (A) ⇒ Op[T])(implicit n: DI): (Op[A]) ⇒ Op1[A, T]

Create an operation from a 1-arg function that returns an operation to be executed.

Create an operation from a 1-arg function that returns an operation to be executed.

For example:

val localPlusOne = ( (r: Raster, i: Int) => local.Add(r, i + 1) )

15. #### def apply[A, T](f: (A) ⇒ StepOutput[T]): (Op[A]) ⇒ Op1[A, T]

Create an operation from a 1-arg function that returns StepOutput.

Create an operation from a 1-arg function that returns StepOutput.

For example:

val plusOne = op { (i: Int) => Result(i + 1) }

16. #### def apply[T](value: ⇒ T): Op0[T]

Add simple syntax for creating an operation.

Add simple syntax for creating an operation.

Define a function after op function that returns:

1) A literal value, e.g. val plusOne = op { (i: Int) => i + 1 }

2) An operation to be executed: val localPlusOne = ( (r: Raster, i: Int) => local.Add(r, i + 1) )

3) Or a StepResult (which indicates success or failure) val plusOne = op { (i: Int) => Result(i + 1) }

17. #### final def asInstanceOf[T0]: T0

Definition Classes
Any
18. #### def clone(): AnyRef

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( ... )
19. #### final def eq(arg0: AnyRef): Boolean

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

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

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

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

Definition Classes
AnyRef → Any
24. #### final def isInstanceOf[T0]: Boolean

Definition Classes
Any
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. #### final def synchronized[T0](arg0: ⇒ T0): T0

Definition Classes
AnyRef
29. #### def toString(): String

Definition Classes
AnyRef → Any
30. #### final def wait(): Unit

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

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

Definition Classes
AnyRef
Annotations
@throws( ... )