# All Superinterfaces:
- `RamaOperation`
- `RamaSerializable`
- `Serializable`

---

## public interface RamaOperation2<T0,T1>

Extends [`RamaOperation`](/content/javadoc/com/rpl/rama/ops/RamaOperation.html "interface in com.rpl.rama.ops"/index.html)  
Interface for custom operation implementation of two arguments. An operation emits zero or more times to any number of output streams.

### Method Summary

| Modifier and Type | Method                                                                                                   | Description                                                                                                                                                                         |
|--------------------|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `void`             | `invoke(T0 arg0, T1 arg1, OutputCollector collector)`                                                    | Executes operation and emits results by calling methods on the provided [`OutputCollector`](/content/javadoc/com/rpl/rama/ops/OutputCollector.html "interface in com.rpl.rama.ops"/index.html) |

### Method Details

#### invoke

```java
void invoke(T0 arg0,
            T1 arg1,
            OutputCollector collector)
```  
Executes operation and emits results by calling methods on the provided [`OutputCollector`](/content/javadoc/com/rpl/rama/ops/OutputCollector.html "interface in com.rpl.rama.ops"/index.html)

**Parameters:**  
`collector` - Emits results back to caller of operation
