Improve documentation

This commit is contained in:
leventov
2016-03-23 20:09:43 +07:00
parent ca5a988873
commit 739796b90d
24 changed files with 509 additions and 80 deletions
@@ -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;
}