public class Input extends Object
This class keeps just the data which will be passed to the Steam API.
| Modifier and Type | Class and Description |
|---|---|
static class |
Input.Builder |
| Constructor and Description |
|---|
Input() |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
add(String key,
T value)
Adds a new value to the input.
|
boolean |
contains(String key)
Checks if the input contains a specific key.
|
static Input.Builder |
create() |
static Input |
empty()
Creates an instance of an empty Input.
|
Map<String,Object> |
getValues()
All currently stored values.
|
public <T> void add(String key, T value)
Adds a new value to the input.
T - the type of the valuekey - The key of the input.value - The value of the input.public Map<String,Object> getValues()
All currently stored values.
public boolean contains(String key)
Checks if the input contains a specific key.
key - The key to check.public static Input empty()
Creates an instance of an empty Input.
public static Input.Builder create()
Copyright © 2017. All rights reserved.