# All Known Subinterfaces

`Case.Impl`, `Case.MultiOutImpl`, `Case.OutImpl`

---

## public interface Case

Used to create cases for [`Block.cond(com.rpl.rama.Case...)`](/content/javadoc/com/rpl/rama/Block.html#cond(com.rpl.rama.Case.../index.html))

### Nested Class Summary

| Modifier and Type                   | Interface              | Description |
|-------------------------------------|------------------------|-------------|
| `static interface`                  | `Case.Impl`           |             |
| `static interface`                  | `Case.MultiOutImpl`   |             |
| `static interface`                  | `Case.Out`            |             |
| `static interface`                  | `Case.OutImpl`        |             |

### Method Summary

| Modifier and Type                   | Method                 | Description                                   |
|-------------------------------------|------------------------|-----------------------------------------------|
| `static Case.Impl`                 | `create(Object condition)` | Create a case matching on the given condition. |

### Method Details

#### create

static [`Case.Impl`](/content/javadoc/com/rpl/rama/Case.Impl.html "interface in com.rpl.rama"/index.html) create([Object](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") condition)

Create a case matching on the given condition.

**Parameters:** `condition` - Variable, constant, or expression.
