mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Improve documentation
This commit is contained in:
@@ -32,6 +32,13 @@ import static net.openhft.chronicle.map.MapMethodsSupport.tryReturnCurrentValueI
|
||||
*/
|
||||
public interface MapMethods<K, V, R> {
|
||||
|
||||
/**
|
||||
* Backing {@link ChronicleMap#containsKey(Object)} method.
|
||||
*
|
||||
* @implNote the default implementation is equivalent to <pre>{@code
|
||||
* return q.entry() != null;
|
||||
* }</pre>
|
||||
*/
|
||||
default boolean containsKey(MapQueryContext<K, V, R> q) {
|
||||
return q.entry() != null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user