> For the complete documentation index, see [llms.txt](https://daikirai.gitbook.io/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daikirai.gitbook.io/scripting/documentation/bridge.md).

# bridge

### add

adds or updates a value in the shared bridge map.

```java
bridge.add(String key, Object value);
bridge.add(String key);
```

***

### clear

removes every entry stored in the bridge map.

```java
bridge.clear();
```

***

### get

returns the value stored under a specified key, or `null` if it does not exist.

```java
Object value = bridge.get(String key);
```

***

### has

returns `true` if the bridge map contains the specified key.

```java
boolean hasKey = bridge.has(String key);
```

***

### remove

removes a key and its associated value from the bridge map.

```java
bridge.remove(String key);
```
