public interface AsyncCollectionProxy<T>
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Boolean> |
add(T value)
Adds a entry to the collection.
|
CompletableFuture<Boolean> |
addAll(Collection<? extends T> values)
Adds a collection of entries to the collection.
|
CompletableFuture<Void> |
clear()
Clears all values from the collection.
|
CompletableFuture<Boolean> |
contains(Object value)
Checks whether the collection contains a entry.
|
CompletableFuture<Boolean> |
containsAll(Collection<?> values)
Checks whether the collection contains a collection of entries.
|
CompletableFuture<Boolean> |
isEmpty()
Checks whether the collection is empty.
|
CompletableFuture<Boolean> |
remove(Object value)
Removes a entry from the collection.
|
CompletableFuture<Boolean> |
removeAll(Collection<?> values)
Removes a collection of values from the collection.
|
CompletableFuture<Boolean> |
retainAll(Collection<?> values)
Retains a collection of values in the collection.
|
CompletableFuture<Integer> |
size()
Gets the current collection size.
|
CompletableFuture<Boolean> add(T value)
value - The entry to add.CompletableFuture<Boolean> addAll(Collection<? extends T> values)
values - The values to add.CompletableFuture<Boolean> retainAll(Collection<?> values)
values - The values to retain.CompletableFuture<Boolean> remove(Object value)
value - The entry to remove.CompletableFuture<Boolean> removeAll(Collection<?> values)
values - The collection of values to remove.CompletableFuture<Boolean> contains(Object value)
value - The entry to check.CompletableFuture<Boolean> containsAll(Collection<?> values)
values - The collection of values to check.CompletableFuture<Integer> size()
CompletableFuture<Boolean> isEmpty()
CompletableFuture<Void> clear()
Copyright © 2013-2015. All Rights Reserved.