public interface AsyncListProxy<T> extends AsyncCollectionProxy<T>
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
add(int index,
T value)
Adds a value at an index in the list.
|
CompletableFuture<Boolean> |
addAll(int index,
Collection<? extends T> values)
Adds a collection of values at an index in the list.
|
CompletableFuture<T> |
get(int index)
Gets a entry at a specific index in the list.
|
CompletableFuture<T> |
remove(int index)
Removes an index in the list.
|
CompletableFuture<T> |
set(int index,
T value)
Sets an index in the list.
|
CompletableFuture<T> get(int index)
index - The index of the entry to get.CompletableFuture<T> set(int index, T value)
index - The index to set.value - The entry to set.CompletableFuture<Void> add(int index, T value)
index - The index at which to add the value.value - The value to add.CompletableFuture<Boolean> addAll(int index, Collection<? extends T> values)
index - The index at which to add the values.values - The values to add.CompletableFuture<T> remove(int index)
index - The index to remove.Copyright © 2013-2015. All Rights Reserved.