Scoop API

scoop:scoop.core:0.1.0

IndexGet2

interface IndexGet2

source · line 29
public
public interface IndexGet2<I, J, Value>

The generic operator contract used for a[first, second]. Operand and result types are chosen by the implementation.

function get

source · line 34
public
public operator fun get(first: I, second: J): Value

Implements a[first, second] for this receiver; domain restrictions and failure behavior belong to the implementing type.