public interface TableView<T> extends Closeable
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
closeAsync()
Close the table view and releases resources allocated.
|
boolean |
containsKey(String key)
Returns
true if this TableView contains a mapping for the specified
key. |
Set<Map.Entry<String,T>> |
entrySet()
Returns a Set view of the mappings contained in this map.
|
void |
forEach(BiConsumer<String,T> action)
Performs the given action for each entry in this map until all entries
have been processed or the action throws an exception.
|
void |
forEachAndListen(BiConsumer<String,T> action)
Performs the give action for each entry in this map until all entries
have been processed or the action throws an exception.
|
T |
get(String key)
Returns the value to which the specified key is mapped, or null if this map contains
no mapping for the key.
|
boolean |
isEmpty()
Returns
true if this TableView contains no key-value mappings. |
Set<String> |
keySet()
|
int |
size()
Returns the number of key-value mappings in the
TableView . |
Collection<T> |
values()
Returns a Collection view of the values contained in this
TableView . |
int size()
TableView
.boolean isEmpty()
true
if this TableView
contains no key-value mappings.boolean containsKey(String key)
true
if this TableView
contains a mapping for the specified
key.key
- key whose presence in this map is to be testedT get(String key)
key
- the key whose associated value is to be returnedSet<Map.Entry<String,T>> entrySet()
Collection<T> values()
TableView
.void forEach(BiConsumer<String,T> action)
action
- The action to be performed for each entryvoid forEachAndListen(BiConsumer<String,T> action)
action
- The action to be performed for each entryCompletableFuture<Void> closeAsync()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.