public class DefaultAscendAllocationStore extends java.lang.Object implements AscendAllocationStore
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonArray |
get()
Retrieves a JsonArray.
|
void |
put(com.google.gson.JsonArray allocations)
Stores a JsonArray.
|
public com.google.gson.JsonArray get()
AscendAllocationStoreRetrieves a JsonArray that represents the participant's allocations. If there are no stored allocations, should return an empty JsonArray.
get in interface AscendAllocationStorepublic void put(com.google.gson.JsonArray allocations)
AscendAllocationStoreStores the given JsonArray.
put in interface AscendAllocationStoreallocations - a participant's allocations